DynamicScriptObject Class

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

Enables calls from a XAML browser application (XBAP) to the HTML window that hosts the application. 

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Dynamic.DynamicObject
    System.Windows.Interop.DynamicScriptObject

public sealed class DynamicScriptObject : DynamicObject

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetDynamicMemberNames()

Returns the enumeration of all dynamic member names. (Inherited from DynamicObject.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetMetaObject(Expression)

Provides a DynamicMetaObject that dispatches to the dynamic virtual methods. The object can be encapsulated inside another DynamicMetaObject to provide custom behavior for individual actions. This method supports the Dynamic Language Runtime infrastructure for language implementers and it is not intended to be used directly from your code.(Inherited from DynamicObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

This API supports the product infrastructure and is not intended to be used directly from your code. Attempts to convert the script object to a string representation.(Overrides Object.ToString().)

System_CAPS_pubmethodTryBinaryOperation(BinaryOperationBinder, Object, Object)

Provides implementation for binary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as addition and multiplication.(Inherited from DynamicObject.)

System_CAPS_pubmethodTryConvert(ConvertBinder, Object)

Provides implementation for type conversion operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that convert an object from one type to another.(Inherited from DynamicObject.)

System_CAPS_pubmethodTryCreateInstance(CreateInstanceBinder, Object[], Object)

Provides the implementation for operations that initialize a new instance of a dynamic object. This method is not intended for use in C# or Visual Basic.(Inherited from DynamicObject.)

System_CAPS_pubmethodTryDeleteIndex(DeleteIndexBinder, Object[])

Provides the implementation for operations that delete an object by index. This method is not intended for use in C# or Visual Basic.(Inherited from DynamicObject.)

System_CAPS_pubmethodTryDeleteMember(DeleteMemberBinder)

Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic.(Inherited from DynamicObject.)

System_CAPS_pubmethodTryGetIndex(GetIndexBinder, Object[], Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an indexed value from the script object by using the first index value from the indexes collection.(Overrides DynamicObject.TryGetIndex(GetIndexBinder, Object[], Object).)

System_CAPS_pubmethodTryGetMember(GetMemberBinder, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an member value from the script object.(Overrides DynamicObject.TryGetMember(GetMemberBinder, Object).)

System_CAPS_pubmethodTryInvoke(InvokeBinder, Object[], Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Calls the default script method.(Overrides DynamicObject.TryInvoke(InvokeBinder, Object[], Object).)

System_CAPS_pubmethodTryInvokeMember(InvokeMemberBinder, Object[], Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Calls a method on the script object. (Overrides DynamicObject.TryInvokeMember(InvokeMemberBinder, Object[], Object).)

System_CAPS_pubmethodTrySetIndex(SetIndexBinder, Object[], Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Sets a member on the script object by using the first index specified in the indexes collection.(Overrides DynamicObject.TrySetIndex(SetIndexBinder, Object[], Object).)

System_CAPS_pubmethodTrySetMember(SetMemberBinder, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Sets a member on the script object to the specified value.(Overrides DynamicObject.TrySetMember(SetMemberBinder, Object).)

System_CAPS_pubmethodTryUnaryOperation(UnaryOperationBinder, Object)

Provides implementation for unary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as negation, increment, or decrement.(Inherited from DynamicObject.)

Instances of this class are exposed through the HostScript property of BrowserInteropHelper.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: