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)
Syntaxpublic static T PfsReadParam<T>(
IntPtr pfsSect,
string keyword,
int keywordNo,
int paramNo,
T defVal
)
Public Shared Function PfsReadParam(Of T) (
pfsSect As IntPtr,
keyword As String,
keywordNo As Integer,
paramNo As Integer,
defVal As T
) As T
public:
generic<typename T>
static T PfsReadParam(
IntPtr pfsSect,
String^ keyword,
int keywordNo,
int paramNo,
T defVal
)
static member PfsReadParam :
pfsSect : IntPtr *
keyword : string *
keywordNo : int *
paramNo : int *
defVal : 'T -> 'T
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:
TT typed result
See Also