Click or drag to resize

ScriptObject Methods

The ScriptObject type exposes the following members.

Methods
 NameDescription
Public methodDeleteProperty(Int32) Removes an indexed script object property.
Public methodDeleteProperty(String) Removes a named script object property.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetDynamicMemberNamesReturns the enumeration of all dynamic member names.
(Inherited from DynamicObject)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMetaObjectProvides 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 methodGetProperty(Int32) Gets the value of an indexed script object property.
Public methodGetProperty(String, Object) Gets the value of a named script object property.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInvoke Invokes the script object.
Public methodInvokeAsFunction Invokes the script object as a function.
Public methodInvokeMethod Invokes a script object method.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetProperty(Int32, Object) Sets the value of an indexed script object property.
Public methodSetProperty(String, Object) Sets the value of a named script object property.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryBinaryOperationProvides 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 methodTryConvertProvides 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 methodTryCreateInstanceProvides 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 methodTryDeleteIndexProvides 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 methodTryDeleteMemberProvides 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 methodTryGetIndexProvides the implementation for operations that get a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for indexing operations.
(Inherited from DynamicObject)
Public methodTryGetMemberProvides the implementation for operations that get member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property.
(Inherited from DynamicObject)
Public methodTryInvokeProvides the implementation for operations that invoke an object. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as invoking an object or a delegate.
(Inherited from DynamicObject)
Public methodTryInvokeMemberProvides the implementation for operations that invoke a member. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as calling a method.
(Inherited from DynamicObject)
Public methodTrySetIndexProvides the implementation for operations that set a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that access objects by a specified index.
(Inherited from DynamicObject)
Public methodTrySetMemberProvides the implementation for operations that set member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property.
(Inherited from DynamicObject)
Public methodTryUnaryOperationProvides 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
See Also