Compartilhar via


Source.GetFilePath Method

Definition

Gets the file name of the source file.

public:
 virtual System::String ^ GetFilePath();
public:
 virtual Platform::String ^ GetFilePath();
 virtual std::wstring GetFilePath();
public virtual string GetFilePath ();
abstract member GetFilePath : unit -> string
override this.GetFilePath : unit -> string
Public Overridable Function GetFilePath () As String

Returns

The file name of the source file.

Remarks

This helper method obtains the path name from the IVsTextLines object passed to the Source class constructor.

Applies to