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 (decodes) a file path encoded with EncodePath.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function ResolvePath ( _
strEncodedPath As String, _
dwFlags As UInteger, _
<OutAttribute> ByRef pbstrPath As String _
) As Integer
'Usage
Dim instance As IVsPathVariableResolver
Dim strEncodedPath As String
Dim dwFlags As UInteger
Dim pbstrPath As String
Dim returnValue As Integer
returnValue = instance.ResolvePath(strEncodedPath, _
dwFlags, pbstrPath)
int ResolvePath(
string strEncodedPath,
uint dwFlags,
out string pbstrPath
)
int ResolvePath(
[InAttribute] String^ strEncodedPath,
[InAttribute] unsigned int dwFlags,
[OutAttribute] String^% pbstrPath
)
abstract ResolvePath :
strEncodedPath:string *
dwFlags:uint32 *
pbstrPath:string byref -> int
function ResolvePath(
strEncodedPath : String,
dwFlags : uint,
pbstrPath : String
) : int
Parameters
- strEncodedPath
Type: System.String
[in] String containing the encoded path.
- dwFlags
Type: System.UInt32
[in] Encoding option flag. A value from the __VSPROFILEPATHRESOLVERFLAGS enumeration.
- pbstrPath
Type: System.String%
[out] Pointer to a string containing the resolved path.
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 vsshell80.idl:
HRESULT IVsPathVariableResolver::ResolvePath(
[in] LPCOLESTR strEncodedPath,
[in] VSPROFILEPATHRESOLVERFLAGS dwFlags,
[out] BSTR *pbstrPath
);
.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
IVsPathVariableResolver Interface