DynamicComObjectTryGetIndex Method |
Provides 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.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public override bool TryGetIndex(
GetIndexBinder binder,
Object[] indexes,
out Object result
)
Parameters
- binder
- Type: System.DynamicGetIndexBinder
Provides information about the operation. - indexes
- Type: SystemObject
The indexes that are used in the operation. - result
- Type: SystemObject
The result of the index operation.
Return Value
Type:
Boolean
true if the operation is successful; otherwise, false. If this method returns false, the run-time binder of the language determines the behavior. (In most cases, a run-time exception is thrown.)
See Also