[]
Adds a new SubStyle with the specified key into the SubStyleCollection.
public int Add(string key)
Public Function Add(key As String) As Integer
Type | Name | Description |
---|---|---|
string | key | The key of this SubStyle object. |
Type | Description |
---|---|
int | The index of this item in SubStyleCollection. |
Adds an item with the specified key and value into the SubStyleCollection.
public int Add(string key, SubStyle subStyle)
Public Function Add(key As String, subStyle As SubStyle) As Integer
Type | Name | Description |
---|---|---|
string | key | The key of this item. |
SubStyle | subStyle | The value of this item (a SubStyle). |
Type | Description |
---|---|
int | The index of this item in SubStyleCollection. |