Adds a new Style object to the collection and sets its parent style to the specified parent Style.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Sub Add( _
ByVal name As String, _
ByVal nameOfParent As String _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As StyleSheet
Dim name As String
Dim nameOfParent As String
instance.Add(name, nameOfParent)
|
Parameters
- name
- Specifies the name of the new Style object.
- nameOfParent
- Specifies the parent Style whose properties will be inherited by the new Style.
Remarks
See Also