The StyleCollectionBase type exposes the following members.

Methods

  NameDescription
Public methodAdd
Creates a new style object, adds it to the collection, and returns an ObjectId for the object.
Public methodContains(ObjectId)
Determines whether an element specified by ObjectId is in the collection.
Public methodContains(String)
Determines whether an element is in the collection by its name.
Public methodGetEnumerator
Implements the method declared in the IEnumerable<T> interface. This method returns an enumerator for this collection.
Public methodGetObjectEnumerator
Implements the method declared in the IEnumerable interface. This method returns an enumerator for this collection.
Public methodRemove(Int32)
Removes a style by index from the collection.
Public methodRemove(String)
Removes a style by name from the collection.
Public methodRemove(StyleBase) Obsolete.
Removes a style by Object from the collection.

Properties

  NameDescription
Public propertyCount
Gets the number of style objects in the collection.
Public propertyItem[([( Int32])])
Public propertyItem[([( String])])

See Also