Partager via


VSPIAImporterClass.GetMainWrapperFilename Method

Gets the filename for a given type library.

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

Syntax

'Declaration
Public Overridable Function GetMainWrapperFilename ( _
    pTypeLibToWrap As TLIBATTR(), _
    <OutAttribute> ByRef pbstrFilename As String _
) As Integer
public virtual int GetMainWrapperFilename(
    TLIBATTR[] pTypeLibToWrap,
    out string pbstrFilename
)
public:
virtual int GetMainWrapperFilename(
    [InAttribute] array<TLIBATTR>^ pTypeLibToWrap, 
    [OutAttribute] String^% pbstrFilename
)
abstract GetMainWrapperFilename : 
        pTypeLibToWrap:TLIBATTR[] * 
        pbstrFilename:string byref -> int  
override GetMainWrapperFilename : 
        pTypeLibToWrap:TLIBATTR[] * 
        pbstrFilename:string byref -> int
public function GetMainWrapperFilename(
    pTypeLibToWrap : TLIBATTR[], 
    pbstrFilename : String
) : int

Parameters

  • pbstrFilename
    Type: String%

    [out] Pointer to a string containing the file name.

Return Value

Type: Int32
Returns S_OK if the method is successful, E_FAIL if the method fails.

Implements

IVsTypeLibraryWrapper.GetMainWrapperFilename(array<TLIBATTR[], String%)

.NET Framework Security

See Also

Reference

VSPIAImporterClass Class

Microsoft.VisualStudio.Shell.Interop Namespace