'Declaration Public Function Clone( _ ByVal name As String _ ) As WorksheetTableStyle
public WorksheetTableStyle Clone( string name )
Exception | Description |
---|---|
System.ArgumentNullException | name is null or empty. |
A cloned style must be added to the CustomTableStyles collection before it can be applied to a WorksheetTable.
The only value not cloned from the style is the IsCustom value. Cloning a standard style creates a custom style with the same style settings which can then be changed.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2