IVsPathVariableResolver::ResolvePath Method (String^, UInt32, String^)

 

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)

int ResolvePath(
	String^ strEncodedPath,
	unsigned int dwFlags,
	[OutAttribute] String^% pbstrPath
)

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.

From vsshell80.idl:

HRESULT IVsPathVariableResolver::ResolvePath(
   [in] LPCOLESTR strEncodedPath, 
   [in] VSPROFILEPATHRESOLVERFLAGS dwFlags, 
   [out] BSTR *pbstrPath
);
Return to top
Show: