Partilhar via


StackFrame2.FileName Property

Definition

Gets the complete file path to the source file that contains this stack frame. A read-only property.

public:
 property System::String ^ FileName { System::String ^ get(); };
public:
 property Platform::String ^ FileName { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(111)]
public string FileName { [System.Runtime.InteropServices.DispId(111)] get; }
[<System.Runtime.InteropServices.DispId(111)>]
[<get: System.Runtime.InteropServices.DispId(111)>]
member this.FileName : string
Public ReadOnly Property FileName As String

Property Value

A string that contains the file path.

Attributes

Applies to