Compartilhar via


Trace.Name Property

Applies To: Windows 8.1

The name of the Trace.

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

Usage

'Usage
Dim instance As Trace
Dim value As String

value = instance.Name

instance.Name = value

Syntax

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

/** @property */
public void set_Name (String name)
public function get Name () : String

public function set Name (name : String)

Property Value

Returns String.

Remarks

The name is the value of element Trace/Description/Name.

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

Trace Class
Trace Members
Microsoft.Assessments.Runtime Namespace