Partager via


TestCase.Key Property

Applies To: Windows 8.1

The key of the TestCase.

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

Usage

'Usage
Dim instance As TestCase
Dim value As String

value = instance.Key

instance.Key = value

Syntax

'Declaration
Public Property Key As String
public string Key { get; set; }
public:
property String^ Key {
    String^ get ();
    void set (String^ key);
}
/** @property */
public String get_Key ()

/** @property */
public void set_Key (String key)
public function get Key () : String

public function set Key (key : String)

Property Value

Returns String.

Remarks

The key is the value of element TestCase/Key.

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

TestCase Class
TestCase Members
Microsoft.Assessments.Runtime Namespace