Partager via


Trace.File Property

Applies To: Windows 8.1

The file 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.File

instance.File = value

Syntax

'Declaration
Public Property File As String
public string File { get; set; }
public:
property String^ File {
    String^ get ();
    void set (String^ file);
}
/** @property */
public String get_File ()

/** @property */
public void set_File (String file)
public function get File () : String

public function set File (file : String)

Property Value

Returns String.

Remarks

The file name is the value of element Trace/File.

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