Click or drag to resize

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
C#
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: UIntPtr
The pointer being checked
Exceptions
ExceptionCondition
ArgumentExceptionThrown when pointer equals Zero
See Also