ParameterSet::GetParameter method
Returns a parameter object for the specified named parameter.
Syntax
virtual HRESULT GetParameter(
[in] LPCWSTR parameterName,
[out] Parameter **parameter
) const = 0;
Parameters
-
parameterName [in]
-
The name of the parameter for which to retrieve the value.
-
parameter [out]
-
A pointer to the Parameter object
Return value
If the function succeeds, the return value is S_OK.
If the parameter that was specified does not exist, the return value is E_INVALIDARG.
If parameter is NULL, the return value is E_POINTER.
Remarks
An assessment can use this method to get the value of the parameter that was specified by the user when the job was created or when a solution called SetJobParameter.
The managed API implements a default indexer to access a Parameter object using the ParameterSet as a collection.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|