[C#] In C#, this property is the indexer for the Model class.
[Visual Basic] Public Default Property ReadOnly Objects2( _ Optional ByVal ObjectKind As EpObjectKind = epObjectKindObject, _ Optional ByVal ObjectKindExact As Boolean = VARIANT_FALSE, _ Optional ByVal OpenMacros As Boolean = VARIANT_FALSE, _ Optional ByVal OpenSheets As Boolean = VARIANT_FALSE _ ) As Objects [C#] public Objects this[ EpObjectKind ObjectKind, bool ObjectKindExact, bool OpenMacros, bool OpenSheets ] { get; } [C++] public: __property Objects* get_Objects2( EpObjectKind ObjectKind, bool ObjectKindExact, bool OpenMacros, bool OpenSheets ); [JScript] returnValue = ModelObject.Item( ObjectKind, ObjectKindExact, OpenMacros, OpenSheets ); -or- returnValue = ModelObject( ObjectKind, ObjectKindExact, OpenMacros, OpenSheets );
[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.
Reading: supersedes the functionality of Objects
Model Class | EbsOpen Namespace