Share via


Subject.Instance Property

Applies To: Windows 8.1

The instance name of the Subject

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

Usage

'Usage
Dim instance As Subject
Dim value As String

value = instance.Instance

instance.Instance = value

Syntax

'Declaration
Public Property Instance As String
public string Instance { get; set; }
public:
property String^ Instance {
    String^ get ();
    void set (String^ name);
}
/** @property */
public String get_Instance ()

/** @property */
public void set_Instance (String name)
public function get Instance () : String

public function set Instance (name : String)

Property Value

Returns String.

Remarks

The instance name is the value of element Subject/Instance/ProgrammaticName.

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

Subject Class
Subject Members
Microsoft.Assessments.Runtime Namespace