Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Overridable Function WrapTypeLibrary ( _
pTypeLibToWrap As TLIBATTR(), _
wszDestinationDirectory As String, _
wszKeyFile As String, _
wszKeyContainer As String, _
bDelaySign As Integer, _
pCallback As IVsTypeLibraryWrapperCallback, _
<OutAttribute> rgbstrWrapperPaths As IntPtr(), _
<OutAttribute> rgWrappedTypeLibs As IntPtr(), _
<OutAttribute> rgbGenerated As IntPtr(), _
<OutAttribute> rgbstrWrapperTools As IntPtr(), _
<OutAttribute> ByRef pcWrappedTypeLibs As UInteger _
) As Integer
public virtual int WrapTypeLibrary(
TLIBATTR[] pTypeLibToWrap,
string wszDestinationDirectory,
string wszKeyFile,
string wszKeyContainer,
int bDelaySign,
IVsTypeLibraryWrapperCallback pCallback,
IntPtr[] rgbstrWrapperPaths,
IntPtr[] rgWrappedTypeLibs,
IntPtr[] rgbGenerated,
IntPtr[] rgbstrWrapperTools,
out uint pcWrappedTypeLibs
)
public:
virtual int WrapTypeLibrary(
[InAttribute] array<TLIBATTR>^ pTypeLibToWrap,
[InAttribute] String^ wszDestinationDirectory,
[InAttribute] String^ wszKeyFile,
[InAttribute] String^ wszKeyContainer,
[InAttribute] int bDelaySign,
[InAttribute] IVsTypeLibraryWrapperCallback^ pCallback,
[OutAttribute] array<IntPtr>^ rgbstrWrapperPaths,
[OutAttribute] array<IntPtr>^ rgWrappedTypeLibs,
[OutAttribute] array<IntPtr>^ rgbGenerated,
[OutAttribute] array<IntPtr>^ rgbstrWrapperTools,
[OutAttribute] unsigned int% pcWrappedTypeLibs
)
abstract WrapTypeLibrary :
pTypeLibToWrap:TLIBATTR[] *
wszDestinationDirectory:string *
wszKeyFile:string *
wszKeyContainer:string *
bDelaySign:int *
pCallback:IVsTypeLibraryWrapperCallback *
rgbstrWrapperPaths:IntPtr[] byref *
rgWrappedTypeLibs:IntPtr[] byref *
rgbGenerated:IntPtr[] byref *
rgbstrWrapperTools:IntPtr[] byref *
pcWrappedTypeLibs:uint32 byref -> int
override WrapTypeLibrary :
pTypeLibToWrap:TLIBATTR[] *
wszDestinationDirectory:string *
wszKeyFile:string *
wszKeyContainer:string *
bDelaySign:int *
pCallback:IVsTypeLibraryWrapperCallback *
rgbstrWrapperPaths:IntPtr[] byref *
rgWrappedTypeLibs:IntPtr[] byref *
rgbGenerated:IntPtr[] byref *
rgbstrWrapperTools:IntPtr[] byref *
pcWrappedTypeLibs:uint32 byref -> int
public function WrapTypeLibrary(
pTypeLibToWrap : TLIBATTR[],
wszDestinationDirectory : String,
wszKeyFile : String,
wszKeyContainer : String,
bDelaySign : int,
pCallback : IVsTypeLibraryWrapperCallback,
rgbstrWrapperPaths : IntPtr[],
rgWrappedTypeLibs : IntPtr[],
rgbGenerated : IntPtr[],
rgbstrWrapperTools : IntPtr[],
pcWrappedTypeLibs : uint
) : int
Parameters
pTypeLibToWrap
Type: array<Microsoft.VisualStudio.OLE.Interop.TLIBATTR[]Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
wszDestinationDirectory
Type: StringFinds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
wszKeyFile
Type: StringFinds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
wszKeyContainer
Type: StringFinds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
bDelaySign
Type: Int32Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
pCallback
Type: Microsoft.VisualStudio.Shell.Interop.IVsTypeLibraryWrapperCallbackFinds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
rgbstrWrapperPaths
Type: array<IntPtr[]Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
rgWrappedTypeLibs
Type: array<IntPtr[]Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
rgbGenerated
Type: array<IntPtr[]Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
rgbstrWrapperTools
Type: array<IntPtr[]Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
pcWrappedTypeLibs
Type: UInt32%Finds or encapsulates wrappers for the requested type library as well as any dependent type libraries.
Return Value
Type: Int32
Returns S_OK if the method is successful, E_FAIL if the method fails.
Implements
.NET Framework Security
- 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.