C# Класс Klawr.ClrHost.Managed.SafeHandles.UObjectHandle

Encapsulates a native UObject pointer and takes care of properly disposing of it.
Наследование: System.Runtime.InteropServices.SafeHandle
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Null UObjectHandle

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Equality is determined by the equality of the encapsulated IntPtr.

GetHashCode ( ) : int
UObjectHandle ( ) : System

Construct a new handle.

This constructor is used by the interop code, user code should not invoke it.

UObjectHandle ( IntPtr nativeObject, bool ownsHandle ) : System

Construct a new handle to a native UObject instance. This constructor is currently only used to construct IScriptObject(s).

Защищенные методы

Метод Описание
ReleaseHandle ( ) : bool

Описание методов

Equals() публичный Метод

Equality is determined by the equality of the encapsulated IntPtr.
public Equals ( object obj ) : bool
obj object UObjectHandle to compare with.
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

ReleaseHandle() защищенный Метод

protected ReleaseHandle ( ) : bool
Результат bool

UObjectHandle() публичный Метод

Construct a new handle.
This constructor is used by the interop code, user code should not invoke it.
public UObjectHandle ( ) : System
Результат System

UObjectHandle() публичный Метод

Construct a new handle to a native UObject instance. This constructor is currently only used to construct IScriptObject(s).
public UObjectHandle ( IntPtr nativeObject, bool ownsHandle ) : System
nativeObject System.IntPtr Pointer to a native UObject instance.
ownsHandle bool true if the handle should release the native object when /// disposed, false otherwise
Результат System

Описание свойств

Null публичное статическое свойство

Encapsulates a native null pointer.
public static UObjectHandle,Klawr.ClrHost.Managed.SafeHandles Null
Результат UObjectHandle