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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

‘선언
Public Shared Function GetFilePath ( _
    unknown As IntPtr _
) As String
‘사용 방법
Dim unknown As IntPtr
Dim returnValue As String

returnValue = FilePathUtilities.GetFilePath(unknown)
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: System.IntPtr
    A pointer to the IUnknown interface of the file path.

Return Value

Type: System.String
The file path.

.NET Framework Security

See Also

Reference

FilePathUtilities Class

FilePathUtilities Members

GetFilePath Overload

Microsoft.VisualStudio.Package Namespace