Click or drag to resize

HostFunctionstoStaticType Method

Casts a dynamic host object to its static type.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public Object toStaticType(
	IDynamicMetaObjectProvider value
)

Parameters

value  IDynamicMetaObjectProvider
The object to cast to its static type.

Return Value

Object
The specified object in its static type form, stripped of its dynamic members.
Remarks
A dynamic host object that implements IDynamicMetaObjectProvider may have dynamic members that override members of its static type. This function can be used to gain access to type members overridden in this manner.
See Also