Partager via


ParameterSet.Item Property

Applies To: Windows 8.1

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As ParameterSet
Dim key As String
Dim value As Parameter

value = instance(key)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    key As String _
) As Parameter
public Parameter this [
    string key
] { get; }
public:
property Parameter^ default [String^] {
    Parameter^ get (String^ key);
}
/** @property */
public Parameter get_Item (String key)

Parameters

  • key
    The name of the parameter for which to retrieve the value.

Property Value

Returns Parameter.

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 JobParameter.This API implements a default indexer to access a Parameter object using the ParameterSet as a collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

ParameterSet Class
ParameterSet Members
Microsoft.Assessments.Runtime Namespace