共用方式為


TestResultParameterCollection.Item Property (String)

Gets the specified name from thetest result parameter collection.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ITestResultParameter
public ITestResultParameter this[
    string name
] { get; }
public:
property ITestResultParameter^ default[String^ name] {
    ITestResultParameter^ get (String^ name);
}
member Item : 
        name:string -> ITestResultParameter with get
JScript does not support indexed properties.

Parameters

  • name
    Type: String

    Name of the test result parameter.

Property Value

Type: Microsoft.TeamFoundation.TestManagement.Client.ITestResultParameter
Specified test result parameter. Returns a null if the name is not found.

Exceptions

Exception Condition
KeyNotFoundException

name is null.

.NET Framework Security

See Also

Reference

TestResultParameterCollection Class

Item Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace

ITestResultParameter