PfsHelperPfsReadParamT Method (IntPtr, T) |
Return T typed value from the given pointer to parameter
Namespace:
DHI.PFS
Assembly:
DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntaxpublic static T PfsReadParam<T>(
IntPtr pfsParam,
T defVal
)
Public Shared Function PfsReadParam(Of T) (
pfsParam As IntPtr,
defVal As T
) As T
public:
generic<typename T>
static T PfsReadParam(
IntPtr pfsParam,
T defVal
)
static member PfsReadParam :
pfsParam : IntPtr *
defVal : 'T -> 'T
Parameters
- pfsParam
- Type: SystemIntPtr
pointer to parameter - defVal
- Type: T
If pointer to parameter is Zero, defVal will be returned. devVal is also usually to define T
Type Parameters
- T
- T can be bool, int, uint, float, double, string, DateTime, Guid, and Color
Return Value
Type:
T
See Also