Compartir a través de


IVsTypeLibraryWrapperCallback.GetAssembly Method

This API supports the .NET Framework 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)

Syntax

'Declaration
Function GetAssembly ( _
    wszFusionName As String, _
    <OutAttribute> ByRef pbstrPath As String _
) As Integer
int GetAssembly(
    string wszFusionName,
    out string pbstrPath
)
int GetAssembly(
    [InAttribute] String^ wszFusionName, 
    [OutAttribute] String^% pbstrPath
)
abstract GetAssembly : 
        wszFusionName:string * 
        pbstrPath:string byref -> int
function GetAssembly(
    wszFusionName : String, 
    pbstrPath : String
) : int

Parameters

  • wszFusionName
    Type: String

    [in] Specifies assembly name.

  • pbstrPath
    Type: String%

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

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsTypeLibraryWrapperCallback Interface

Microsoft.VisualStudio.Shell.Interop Namespace