GuardIsValidPointer Method |
[This is preliminary documentation and is subject to change.]
Checks if pointer is not a zero pointer
Namespace:
CSInfrastructure.CodeContracts
Assembly:
CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax public static UIntPtr IsValidPointer(
UIntPtr pointer,
string paramName
)
Parameters
- pointer
- Type: SystemUIntPtr
The pointer to check - paramName
- Type: SystemString
The name of the parameter being checked
Return Value
Type:
UIntPtrThe pointer being checked
Exceptions Exception | Condition |
---|
ArgumentException | Thrown when pointer equals Zero |
See Also