Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
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.