Skip to content

M_CodeJam_HGlobal_Create__1_1

Andrew Koryavchenko edited this page Jun 17, 2018 · 3 revisions

HGlobal.Create(T) Method (Int32)

Create a new HGlobal with given size.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static HGlobalScope<T> Create<T>(
	int cb
)
where T : struct, new()

VB

Public Shared Function Create(Of T As {Structure, New}) ( 
	cb As Integer
) As HGlobalScope(Of T)

F#

static member Create : 
        cb : int -> HGlobalScope<'T>  when 'T : struct, new()

Parameters

 

cb
Type: System.Int32
The required number of bytes in memory.

Type Parameters

 

T
[Missing documentation for "M:CodeJam.HGlobal.Create``1(System.Int32)"]

Return Value

Type: HGlobalScope(T)
HGlobalScope(T) instance

See Also

Reference

HGlobal Class
Create Overload
CodeJam Namespace

Clone this wiki locally