DynamicScriptObject DynamicScriptObject DynamicScriptObject DynamicScriptObject Class

Definition

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

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

public ref class DynamicScriptObject sealed : System::Dynamic::DynamicObject
public sealed class DynamicScriptObject : System.Dynamic.DynamicObject
type DynamicScriptObject = class
    inherit DynamicObject
Public NotInheritable Class DynamicScriptObject
Inherits DynamicObject
Inheritance
DynamicScriptObjectDynamicScriptObjectDynamicScriptObjectDynamicScriptObject

Remarks

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetDynamicMemberNames() GetDynamicMemberNames() GetDynamicMemberNames() GetDynamicMemberNames()

Returns the enumeration of all dynamic member names.

(Inherited from DynamicObject)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMetaObject(Expression) GetMetaObject(Expression) GetMetaObject(Expression) GetMetaObject(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)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Attempts to convert the script object to a string representation.

TryBinaryOperation(BinaryOperationBinder, Object, Object) TryBinaryOperation(BinaryOperationBinder, Object, Object) TryBinaryOperation(BinaryOperationBinder, Object, Object) TryBinaryOperation(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)
TryConvert(ConvertBinder, Object) TryConvert(ConvertBinder, Object) TryConvert(ConvertBinder, Object) TryConvert(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)
TryCreateInstance(CreateInstanceBinder, Object[], Object) TryCreateInstance(CreateInstanceBinder, Object[], Object) TryCreateInstance(CreateInstanceBinder, Object[], Object) TryCreateInstance(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)
TryDeleteIndex(DeleteIndexBinder, Object[]) TryDeleteIndex(DeleteIndexBinder, Object[]) TryDeleteIndex(DeleteIndexBinder, Object[]) TryDeleteIndex(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)
TryDeleteMember(DeleteMemberBinder) TryDeleteMember(DeleteMemberBinder) TryDeleteMember(DeleteMemberBinder) TryDeleteMember(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)
TryGetIndex(GetIndexBinder, Object[], Object) TryGetIndex(GetIndexBinder, Object[], Object) TryGetIndex(GetIndexBinder, Object[], Object) TryGetIndex(GetIndexBinder, Object[], Object)

Gets an indexed value from the script object by using the first index value from the indexes collection.

TryGetMember(GetMemberBinder, Object) TryGetMember(GetMemberBinder, Object) TryGetMember(GetMemberBinder, Object) TryGetMember(GetMemberBinder, Object)

Gets an member value from the script object.

TryInvoke(InvokeBinder, Object[], Object) TryInvoke(InvokeBinder, Object[], Object) TryInvoke(InvokeBinder, Object[], Object) TryInvoke(InvokeBinder, Object[], Object)

Calls the default script method.

TryInvokeMember(InvokeMemberBinder, Object[], Object) TryInvokeMember(InvokeMemberBinder, Object[], Object) TryInvokeMember(InvokeMemberBinder, Object[], Object) TryInvokeMember(InvokeMemberBinder, Object[], Object)

Calls a method on the script object.

TrySetIndex(SetIndexBinder, Object[], Object) TrySetIndex(SetIndexBinder, Object[], Object) TrySetIndex(SetIndexBinder, Object[], Object) TrySetIndex(SetIndexBinder, Object[], Object)

Sets a member on the script object by using the first index specified in the indexes collection.

TrySetMember(SetMemberBinder, Object) TrySetMember(SetMemberBinder, Object) TrySetMember(SetMemberBinder, Object) TrySetMember(SetMemberBinder, Object)

Sets a member on the script object to the specified value.

TryUnaryOperation(UnaryOperationBinder, Object) TryUnaryOperation(UnaryOperationBinder, Object) TryUnaryOperation(UnaryOperationBinder, Object) TryUnaryOperation(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)

Applies to