'Declaration Public Overloads Sub Add( _ ByVal references As System.String, _ ByVal cellReferenceMode As CellReferenceMode _ )
public void Add( System.string references, CellReferenceMode cellReferenceMode )
Exception | Description |
---|---|
System.ArgumentNullException | Occurs when the references is null. |
System.ComponentModel.InvalidEnumArgumentException | Occurs when cellReferenceMode is not defined in the CellReferenceMode enumeration. |
System.ArgumentException | Occurs when the list of reference is not well formed. |
The references must be separated by one or more space (' ') characters.
The references in the list cannot contain the worksheet name. They are all assumed to be from the worksheet of this collection.
If all references are already contained in the collection this call will have no effect on the collection.
Target Platforms: Windows 8.1, 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
View on GitHub