The ProfileStyleCollection type exposes the following members.

Methods

  NameDescription
Public methodAdd (Overrides StyleCollectionBase..::..Add(String).)
Public methodContains(ObjectId)
Determines whether an element specified by ObjectId is in the collection.
(Inherited from StyleCollectionBase.)
Public methodContains(String)
Determines whether an element is in the collection by its name.
(Inherited from StyleCollectionBase.)
Public methodGetEnumerator
Implements the method declared in the IEnumerable<T> interface. This method returns an enumerator for this collection.
(Inherited from StyleCollectionBase.)
Public methodGetObjectEnumerator
Implements the method declared in the IEnumerable interface. This method returns an enumerator for this collection.
(Inherited from StyleCollectionBase.)
Public methodRemove(Int32)
Removes a style by index from the collection.
(Inherited from StyleCollectionBase.)
Public methodRemove(String)
Removes a style by name from the collection.
(Inherited from StyleCollectionBase.)
Public methodRemove(StyleBase) Obsolete.
Removes a style by Object from the collection.
(Inherited from StyleCollectionBase.)

Properties

  NameDescription
Public propertyCount
Gets the number of style objects in the collection.
(Inherited from StyleCollectionBase.)
Public propertyItem[([( Int32])])
Gets the style by index from the collection.
(Inherited from StyleCollectionBase.)
Public propertyItem[([( String])]) (Inherited from StyleCollectionBase.)

See Also