TextStyleKeyedCollection.Add Method

NOTE: This member is now obsolete. Use the method that accepts the textStyle only instead.

Assigns the name to the textStyle then adds it to the collection.
Public Sub Add( _ 
ByVal name As String, _ 
ByVal textStyle As TextStyle
)
This language is not supported or no code example is available.
public void Add( 
string name
TextStyle textStyle 
)
This language is not supported or no code example is available.

Parameters

name
string

The name that will override the textStyle name

textStyle
TextStyle

The textStyle

.NET Framework

Supported in: 4.8

In this article

Definition