IVsTypeLibraryWrapperCallback::GetAssembly Method (String^, String^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns a path to an assembly if the assembly is referenced. If the assembly is not referenced, returns an error code.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetAssembly(
	String^ wszFusionName,
	[OutAttribute] String^% pbstrPath
)

Parameters

wszFusionName
Type: System::String^

[in] Specifies assembly name.

pbstrPath
Type: System::String^

[out] Pointer to a string containing the path for the assembly.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From compsvcspkg.idl:

HRESULT IVsTypeLibraryWrapperCallback::GetAssembly(
   [in] LPCOLESTR wszFusionName,
   [out,retval] BSTR* pbstrPath
);
Return to top
Show: