Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Provides an ActiveX designer's type library to its host.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function ProfferTypeLib ( _
ByRef guidTypeLib As Guid, _
uVerMaj As UInteger, _
uVerMin As UInteger, _
dwFlags As UInteger _
) As Integer
'Usage
Dim instance As IProfferTypeLib
Dim guidTypeLib As Guid
Dim uVerMaj As UInteger
Dim uVerMin As UInteger
Dim dwFlags As UInteger
Dim returnValue As Integer
returnValue = instance.ProfferTypeLib(guidTypeLib, _
uVerMaj, uVerMin, dwFlags)
int ProfferTypeLib(
ref Guid guidTypeLib,
uint uVerMaj,
uint uVerMin,
uint dwFlags
)
int ProfferTypeLib(
[InAttribute] Guid% guidTypeLib,
[InAttribute] unsigned int uVerMaj,
[InAttribute] unsigned int uVerMin,
[InAttribute] unsigned int dwFlags
)
abstract ProfferTypeLib :
guidTypeLib:Guid byref *
uVerMaj:uint32 *
uVerMin:uint32 *
dwFlags:uint32 -> int
function ProfferTypeLib(
guidTypeLib : Guid,
uVerMaj : uint,
uVerMin : uint,
dwFlags : uint
) : int
Parameters
- guidTypeLib
Type: System.Guid%
[in] Type library GUID.
- uVerMaj
Type: System.UInt32
[in] Major version number of the type library.
- uVerMin
Type: System.UInt32
[in] Minor version number of the type library.
- dwFlags
Type: System.UInt32
[in] Type library flags. Use CONTROLTYPELIB, defined in designer.h, for a type library of an ActiveX control.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From designer.idl:
HRESULT IProfferTypeLib::ProfferTypeLib(
[in] REFGUID guidTypeLib,
[in] UINT uVerMaj,
[in] UINT uVerMin,
[in] DWORD dwFlags
);
.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.