Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Resolves a relative path to an absolute path for a document.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function ResolveRelativePath ( _
dwReserved As UInteger, _
pszRelPath As String, _
<OutAttribute> ByRef pbstrAbsPath As String _
) As Integer
'Usage
Dim instance As IVsRelativePathResolver
Dim dwReserved As UInteger
Dim pszRelPath As String
Dim pbstrAbsPath As String
Dim returnValue As Integer
returnValue = instance.ResolveRelativePath(dwReserved, _
pszRelPath, pbstrAbsPath)
int ResolveRelativePath(
uint dwReserved,
string pszRelPath,
out string pbstrAbsPath
)
int ResolveRelativePath(
[InAttribute] unsigned int dwReserved,
[InAttribute] String^ pszRelPath,
[OutAttribute] String^% pbstrAbsPath
)
abstract ResolveRelativePath :
dwReserved:uint32 *
pszRelPath:string *
pbstrAbsPath:string byref -> int
function ResolveRelativePath(
dwReserved : uint,
pszRelPath : String,
pbstrAbsPath : String
) : int
Parameters
- dwReserved
Type: System.UInt32
[in] Reserved for future use. Must be zero.
- pszRelPath
Type: System.String
[in] Relative path to the document.
- pbstrAbsPath
Type: System.String%
[out, retval] Absolute path to the document.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsRelativePathResolver::ResolveRelativePath(
[in] DWORD dwReserved,
[in] LPCOLESTR pszRelPath,
[out, retval] BSTR *pbstrAbsPath
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsRelativePathResolver Interface