_TypeLibInfo.GetTypesWithSubStringDirect 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
Function GetTypesWithSubStringDirect ( _
SubString As String, _
hWnd As Integer, _
WindowType As TliWindowTypes, _
SearchType As TliSearchTypes, _
SearchMiddle As Boolean _
) As Short
'Usage
Dim instance As _TypeLibInfo
Dim SubString As String
Dim hWnd As Integer
Dim WindowType As TliWindowTypes
Dim SearchType As TliSearchTypes
Dim SearchMiddle As Boolean
Dim returnValue As Short
returnValue = instance.GetTypesWithSubStringDirect(SubString, _
hWnd, WindowType, SearchType, SearchMiddle)
short GetTypesWithSubStringDirect(
string SubString,
int hWnd,
TliWindowTypes WindowType,
TliSearchTypes SearchType,
bool SearchMiddle
)
short GetTypesWithSubStringDirect(
[InAttribute] String^ SubString,
[InAttribute] int hWnd,
[InAttribute] TliWindowTypes WindowType,
[InAttribute] TliSearchTypes SearchType,
[InAttribute] bool SearchMiddle
)
function GetTypesWithSubStringDirect(
SubString : String,
hWnd : int,
WindowType : TliWindowTypes,
SearchType : TliSearchTypes,
SearchMiddle : boolean
) : short
Parameters
- SubString
Type: System.String
- hWnd
Type: System.Int32
- WindowType
Type: TLI.TliWindowTypes
- SearchType
Type: TLI.TliSearchTypes
- SearchMiddle
Type: System.Boolean
Return Value
Type: System.Int16
.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.