DynamicScriptObject Methods

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

The DynamicScriptObject type exposes the following members.

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetDynamicMemberNames Returns the enumeration of all dynamic member names. (Inherited from DynamicObject.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method 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.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Infrastructure. Attempts to convert the script object to a string representation. (Overrides Object.ToString().)
Public method 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.)
Public method 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.)
Public method 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.)
Public method 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.)
Public method 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.)
Public method 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).)
Public method TryGetMember Infrastructure. Gets an member value from the script object. (Overrides DynamicObject.TryGetMember(GetMemberBinder, Object).)
Public method TryInvoke Infrastructure. Calls the default script method. (Overrides DynamicObject.TryInvoke(InvokeBinder, Object[], Object).)
Public method TryInvokeMember Calls a method on the script object. (Overrides DynamicObject.TryInvokeMember(InvokeMemberBinder, Object[], Object).)
Public method 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).)
Public method TrySetMember Infrastructure. Sets a member on the script object to the specified value. (Overrides DynamicObject.TrySetMember(SetMemberBinder, Object).)
Public method 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.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft