TypeLibInfoClass.AddTypesDirect Method
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Namespace: TLI
Assembly: Microsoft.TLI.Interop (in Microsoft.TLI.Interop.dll)
Syntax
'Declaration
Public Overridable Function AddTypesDirect ( _
ByRef TypeInfoNumbers As Short(), _
hWnd As Integer, _
WindowType As TliWindowTypes, _
SearchType As TliSearchTypes _
) As Short
'Usage
Dim instance As TypeLibInfoClass
Dim TypeInfoNumbers As Short()
Dim hWnd As Integer
Dim WindowType As TliWindowTypes
Dim SearchType As TliSearchTypes
Dim returnValue As Short
returnValue = instance.AddTypesDirect(TypeInfoNumbers, _
hWnd, WindowType, SearchType)
public virtual short AddTypesDirect(
ref short[] TypeInfoNumbers,
int hWnd,
TliWindowTypes WindowType,
TliSearchTypes SearchType
)
public:
virtual short AddTypesDirect(
[InAttribute] array<short>^% TypeInfoNumbers,
[InAttribute] int hWnd,
[InAttribute] TliWindowTypes WindowType,
[InAttribute] TliSearchTypes SearchType
)
public function AddTypesDirect(
TypeInfoNumbers : short[],
hWnd : int,
WindowType : TliWindowTypes,
SearchType : TliSearchTypes
) : short
Parameters
- TypeInfoNumbers
Type: array<System.Int16[]%
- hWnd
Type: System.Int32
- WindowType
Type: TLI.TliWindowTypes
- SearchType
Type: TLI.TliSearchTypes
Return Value
Type: System.Int16
Implements
_TypeLibInfo.AddTypesDirect(array<Int16[]%, Int32, TliWindowTypes, TliSearchTypes)
.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.