HandleCodes
Handles codes
Constructors
| Constructor | Description |
|---|---|
| HandleCodes() | Initializes a new instance of the HandleCodes class. |
Fields
| Field | Description |
|---|---|
| SOFT_OWNERSHIP_REFERENCE | Soft ownership reference: the owner does not need the owned object. The owned object cannot exist by itself. Code - 2 |
| HARD_OWNERSHIP_REFERENCE | Hard ownership reference: the owner needs the owned object. The owned object cannot exist by itself. Code - 3 |
| SOFT_POINTER_REFERENCE | Soft pointer reference: the referencing object does not need the referenced object and vice versa. Code - 4 |
| HARD_POINTER_REFERENCE | Hard pointer reference: the referencing object needs the referenced object, but both are owned by another object. Code - 5 |
| HANDLE_PLUS_ONE_REFERENCE | The handle plus one reference. Code - 6 |
| HANDLE_MINUS_ONE_REFERENCE | The handle minus one reference. Code - 8 |
| HANDLE_PLUS_OFFSET_REFERENCE | The handle plus offset reference. Code - 10 (0xA) |
| HANDLE_MINUS_OFFSET_REFERENCE | The handle minus offset reference. Code - 12 (0xC) |
HandleCodes()
public HandleCodes()
Initializes a new instance of the HandleCodes class.
SOFT_OWNERSHIP_REFERENCE
public static int SOFT_OWNERSHIP_REFERENCE
Soft ownership reference: the owner does not need the owned object. The owned object cannot exist by itself. Code - 2
Returns: int
HARD_OWNERSHIP_REFERENCE
public static int HARD_OWNERSHIP_REFERENCE
Hard ownership reference: the owner needs the owned object. The owned object cannot exist by itself. Code - 3
Returns: int
SOFT_POINTER_REFERENCE
public static int SOFT_POINTER_REFERENCE
Soft pointer reference: the referencing object does not need the referenced object and vice versa. Code - 4
Returns: int
HARD_POINTER_REFERENCE
public static int HARD_POINTER_REFERENCE
Hard pointer reference: the referencing object needs the referenced object, but both are owned by another object. Code - 5
Returns: int
HANDLE_PLUS_ONE_REFERENCE
public static int HANDLE_PLUS_ONE_REFERENCE
The handle plus one reference. Code - 6
Returns: int
HANDLE_MINUS_ONE_REFERENCE
public static int HANDLE_MINUS_ONE_REFERENCE
The handle minus one reference. Code - 8
Returns: int
HANDLE_PLUS_OFFSET_REFERENCE
public static int HANDLE_PLUS_OFFSET_REFERENCE
The handle plus offset reference. Code - 10 (0xA)
Returns: int
HANDLE_MINUS_OFFSET_REFERENCE
public static int HANDLE_MINUS_OFFSET_REFERENCE
The handle minus offset reference. Code - 12 (0xC)
Returns: int