Muokkaa

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

Name Description
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.

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.

Applies to