HostFunctionstoStaticType Method |
Casts a dynamic host object to its static type.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public Object toStaticType(
IDynamicMetaObjectProvider value
)
Public Function toStaticType (
value As IDynamicMetaObjectProvider
) As Object
public:
Object^ toStaticType(
IDynamicMetaObjectProvider^ value
)
member toStaticType :
value : IDynamicMetaObjectProvider -> Object
Parameters
- value IDynamicMetaObjectProvider
- The object to cast to its static type.
Return Value
ObjectThe 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