Click or drag to resize

PfsHelperPfsReadParamT Method (IntPtr, String, Int32, Int32, T)

Return the T typed value of paramNo'th parameter of keywordNo'th keyword of the keyword in pfsSect

Namespace:  DHI.PFS
Assembly:  DHI.PFS (in DHI.PFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static T PfsReadParam<T>(
	IntPtr pfsSect,
	string keyword,
	int keywordNo,
	int paramNo,
	T defVal
)

Parameters

pfsSect
Type: SystemIntPtr
pointer to section
keyword
Type: SystemString
keyword name
keywordNo
Type: SystemInt32
index of keyword, 1-based
paramNo
Type: SystemInt32
index of parameter, 1-based
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
T typed result
See Also