DioDocs for PDF
Create<T> メソッド (DataStream)

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX 名前空間 > DataStream クラス : Create<T> メソッド
A managed array to be used as a backing store.
true if reading from the buffer should be allowed; otherwise, false.
true if writing to the buffer should be allowed; otherwise, false.
Index inside the buffer in terms of element count (not size in bytes).
True to keep the managed buffer and pin it, false will allocate unmanaged memory and make a copy of it. Default is true.
Initializes a new instance of the DataStream class, using a managed buffer as a backing store.
シンタックス
'宣言
 
Public Shared Function Create(Of T As {New, Struct})( _
   ByVal userBuffer() As T, _
   ByVal canRead As System.Boolean, _
   ByVal canWrite As System.Boolean, _
   Optional ByVal index As System.Integer, _
   Optional ByVal pinBuffer As System.Boolean _
) As DataStream
public static DataStream Create<T>( 
   T[] userBuffer,
   System.bool canRead,
   System.bool canWrite,
   System.int index,
   System.bool pinBuffer
)
where T: new(), struct

パラメータ

userBuffer
A managed array to be used as a backing store.
canRead
true if reading from the buffer should be allowed; otherwise, false.
canWrite
true if writing to the buffer should be allowed; otherwise, false.
index
Index inside the buffer in terms of element count (not size in bytes).
pinBuffer
True to keep the managed buffer and pin it, false will allocate unmanaged memory and make a copy of it. Default is true.

型パラメータ

T
参照

DataStream クラス
DataStream メンバ