| Visual Basic (Declaration) | |
|---|---|
Public Overridable ReadOnly Property Objects As RasterCollection(Of AnnObject) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public virtual RasterCollection<AnnObject> Objects {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property virtual RasterCollection<AnnObject> get_Objects(); | |
| C++/CLI | |
|---|---|
public: virtual property RasterCollection<AnnObject> Objects { RasterCollection<AnnObject> get(); } | |
Return Value
The collection of AnnObject objects assigned to this AnnGroupObject.For an example, refer to AnnGroupObject.
(Read only) The Objects property is a zero-based indexed collection used to hold all the AnnObject objects assigned
to this AnnGroupObject. Since the property is read-only, it cannot be assigned a collection of objects directly.
Objects can be added or removed by using the methods inherited from the RasterCollection<AnnObject> class.
Use the RasterCollection<AnnObject>.Add method to add individual objects and the Remove method to remove an object.
Call the RasterCollection<AnnObject>.Clear method to remove all the objects from the collection.
For more information about grouping and ungrouping, refer to Grouping and Ungrouping Annotation Objects.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family