'Declaration Public Function Add( _ ByVal name As String, _ ByVal savePrintOptions As Boolean, _ ByVal saveHiddenRowsAndColumns As Boolean _ ) As CustomView
public CustomView Add( string name, bool savePrintOptions, bool saveHiddenRowsAndColumns )
Exception | Description |
---|---|
System.ArgumentNullException | name is a null or empty. |
System.ArgumentException | name is the name of another custom view in the collection (custom view names are compared case-insensitively). |
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