NamedStyleCollection.Add Method
Thread safety: This property is not thread-safe.
Add(NamedStyle item)
Adds an object to the end of the collection.Syntax
public void Add (
    NamedStyle item
)Parameters
item
    Type: NamedStyle
The object to be added to the end of the collection.
The object to be added to the end of the collection.
Platforms
Windows, Linux, Android