Uredi

Deli z drugimi prek


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
DynamicScriptObject

Remarks

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

Methods

Equals(Object)

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

(Inherited from Object)
GetDynamicMemberNames()

Returns the enumeration of all dynamic member names.

(Inherited from DynamicObject)
GetHashCode()

Serves as the default hash function.

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

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

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.

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)

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)

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[])

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)

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)

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.

TryGetMember(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.

TryInvoke(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.

TryInvokeMember(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.

TrySetIndex(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.

TrySetMember(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.

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