EbsOpen Class Library for EBSILON®Professional

Model.Objects2 Property

[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( ObjectKindObjectKindExactOpenMacrosOpenSheets );
-or-
returnValue = ModelObject( ObjectKindObjectKindExactOpenMacrosOpenSheets );

[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.

Remarks

Reading: supersedes the functionality of Objects

See Also

Model Class | EbsOpen Namespace