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
'宣言
Public Overridable Function GetMainWrapperFilename ( _
pTypeLibToWrap As TLIBATTR(), _
<OutAttribute> ByRef pbstrFilename As String _
) As Integer
'使用
Dim instance As VSPIAImporterClass
Dim pTypeLibToWrap As TLIBATTR()
Dim pbstrFilename As String
Dim returnValue As Integer
returnValue = instance.GetMainWrapperFilename(pTypeLibToWrap, _
pbstrFilename)
public virtual int GetMainWrapperFilename(
TLIBATTR[] pTypeLibToWrap,
out string pbstrFilename
)
public:
virtual int GetMainWrapperFilename(
[InAttribute] array<TLIBATTR>^ pTypeLibToWrap,
[OutAttribute] String^% pbstrFilename
)
public function GetMainWrapperFilename(
pTypeLibToWrap : TLIBATTR[],
pbstrFilename : String
) : int
Parameters
pTypeLibToWrap
Type: [][in] Pointer to a type library to be wrapped.
pbstrFilename
Type: System.String%[out] Pointer to a string containing the file name.
Return Value
Type: System.Int32
Implements
IVsTypeLibraryWrapper.GetMainWrapperFilename([], String%)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.