Struct NativeReference<T>
ネイティブ参照
Inherited Members
Namespace: CriWare.InteropHelpers
Assembly: CriWare.CriBase.dll
Syntax
public struct NativeReference<T> where T : unmanagedType Parameters
| Name | Description | 
|---|---|
| T | 参照先の型 | 
Methods
GetRefValue()
参照の取得
Declaration
public ref T GetRefValue()Returns
| Type | Description | 
|---|---|
| T | 値への参照 | 
Exceptions
| Type | Condition | 
|---|---|
| NullReferenceException | 
GetValue()
参照先の値の取得
Declaration
public T GetValue()Returns
| Type | Description | 
|---|---|
| T | 参照先の値 | 
Exceptions
| Type | Condition | 
|---|---|
| NullReferenceException | 
SetValue(T)
参照先の書き換え
Declaration
public void SetValue(T value)Parameters
| Type | Name | Description | 
|---|---|---|
| T | value | 設定する値 | 
Exceptions
| Type | Condition | 
|---|---|
| NullReferenceException |