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
public Object toStaticType(
	IDynamicMetaObjectProvider value


value  IDynamicMetaObjectProvider
The object to cast to its static type.

Return Value

The specified object in its static type form, stripped of its dynamic members.
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