Share via


IVsTypeLibraryWrapperCallback.GetAssembly(String, String) Method

Definition

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

public:
 int GetAssembly(System::String ^ wszFusionName, [Runtime::InteropServices::Out] System::String ^ % pbstrPath);
int GetAssembly(std::wstring const & wszFusionName, [Runtime::InteropServices::Out] std::wstring const & & pbstrPath);
public int GetAssembly (string wszFusionName, out string pbstrPath);
abstract member GetAssembly : string * string -> int
Public Function GetAssembly (wszFusionName As String, ByRef pbstrPath As String) As Integer

Parameters

wszFusionName
String

[in] Specifies assembly name.

pbstrPath
String

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

Returns

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

Remarks

COM Signature

From compsvcspkg.idl:

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

Applies to