Share via


FilePathUtilities.GetFilePath Method (IntPtr)

Get file path for an object that implements IVsUserData.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Shared Function GetFilePath ( _
    unknown As IntPtr _
) As String
public static string GetFilePath(
    IntPtr unknown
)
public:
static String^ GetFilePath(
    IntPtr unknown
)
static member GetFilePath : 
        unknown:IntPtr -> string
public static function GetFilePath(
    unknown : IntPtr
) : String

Parameters

  • unknown
    Type: IntPtr

    A pointer to the IUnknown interface of the file path.

Return Value

Type: String
The file path.

.NET Framework Security

See Also

Reference

FilePathUtilities Class

GetFilePath Overload

Microsoft.VisualStudio.Package Namespace