Click or drag to resize

ExtendedHostFunctionstypeLibEnumsT Method

Imports enumerations defined within or referenced from a COM/ActiveX type library.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.3
Syntax
public HostTypeCollection typeLibEnums<T>(
	T obj,
	HostTypeCollection collection = null
)
where T : class

Parameters

obj
Type: T
An instance of the representative type.
collection (Optional)
Type: Microsoft.ClearScriptHostTypeCollection
An optional host type collection with which to merge the imported enumerations.

Type Parameters

T
The imported type whose parent library is to be searched for relevant enumerations.

Return Value

Type: HostTypeCollection
A host type collection: collection if it is not null, a new host type collection otherwise.
See Also