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.4.5
Syntax
public HostTypeCollection typeLibEnums<T>(
	T obj,
	HostTypeCollection collection = null
)
where T : class

Parameters

obj  T
An instance of the representative type.
collection  HostTypeCollection  (Optional)
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

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