FilePathUtilities.GetFilePath Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| GetFilePath(IVsTextLines) |
Ruft den Dateipfad von einem IVsTextLines-Puffer ab. |
| GetFilePath(IntPtr) |
Dateipfad für ein Objekt abrufen, das IVsUserData implementiert. |
GetFilePath(IVsTextLines)
Wichtig
Diese API ist nicht CLS-kompatibel.
Ruft den Dateipfad von einem IVsTextLines-Puffer ab.
public:
static System::String ^ GetFilePath(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ textLines);
public:
static Platform::String ^ GetFilePath(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ textLines);
static std::wstring GetFilePath(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & textLines);
[System.CLSCompliant(false)]
public static string GetFilePath (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines textLines);
[<System.CLSCompliant(false)>]
static member GetFilePath : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines -> string
Public Shared Function GetFilePath (textLines As IVsTextLines) As String
Parameter
- textLines
- IVsTextLines
Der IVsTextLines-Puffer.
Gibt zurück
Der Dateipfad.
- Attribute
Gilt für
GetFilePath(IntPtr)
Dateipfad für ein Objekt abrufen, das IVsUserData implementiert.
public:
static System::String ^ GetFilePath(IntPtr unknown);
public static string GetFilePath (IntPtr unknown);
static member GetFilePath : nativeint -> string
Public Shared Function GetFilePath (unknown As IntPtr) As String
Parameter
- unknown
- IntPtr
Ein Zeiger auf die IUnknown-Schnittstelle des Dateipfads.
Gibt zurück
Der Dateipfad.