DynamicScriptObject Class
.NET Framework 4.5
This API supports the .NET Framework 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)
The DynamicScriptObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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 a hash function for a particular type. (Inherited from Object.) |
![]() | GetMetaObject | 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.) |
![]() | ToString | Infrastructure. Attempts to convert the script object to a string representation. (Overrides Object.ToString().) |
![]() | TryBinaryOperation | 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 | 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 | 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 | 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 | 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 | Infrastructure. Gets an indexed value from the script object by using the first index value from the indexes collection. (Overrides DynamicObject.TryGetIndex(GetIndexBinder, Object[], Object).) |
![]() | TryGetMember | Infrastructure. Gets an member value from the script object. (Overrides DynamicObject.TryGetMember(GetMemberBinder, Object).) |
![]() | TryInvoke | Infrastructure. Calls the default script method. (Overrides DynamicObject.TryInvoke(InvokeBinder, Object[], Object).) |
![]() | TryInvokeMember | Calls a method on the script object. (Overrides DynamicObject.TryInvokeMember(InvokeMemberBinder, Object[], Object).) |
![]() | TrySetIndex | Infrastructure. Sets a member on the script object by using the first index specified in the indexes collection. (Overrides DynamicObject.TrySetIndex(SetIndexBinder, Object[], Object).) |
![]() | TrySetMember | Infrastructure. Sets a member on the script object to the specified value. (Overrides DynamicObject.TrySetMember(SetMemberBinder, Object).) |
![]() | TryUnaryOperation | 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
