[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.AliasCollection

Class AliasCollection

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a collection of alternative style names.

public class AliasCollection : IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable
Inheritance
object
AliasCollection
Implements
System.Collections.Generic.IReadOnlyCollection<T><string>
System.Collections.Generic.IEnumerable<T><string>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Count

Gets the number of aliases in the collection.

public int Count { get; }

Property Value

int

Methods

Add(string)

Adds a new alias to the collection.

public void Add(string alias)

Parameters

alias string

The style alias.

Clear()

Removes all aliases from the collection.

public void Clear()

GetEnumerator()

Gets the enumerator that interates through the collection.

public IEnumerator<string> GetEnumerator()

Returns

System.Collections.Generic.IEnumerator<T><string>

The enumerator that interates through the collection.

Remove(string)

Removes an alias from the collection.

public void Remove(string alias)

Parameters

alias string

The alias to remove.