XlsDataValidationTable
Clone Method
|
Creates a clone of the XlsDataValidationTable associated with the provided parent XlsWorksheet.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public override Object Clone(
Object parent
)
Public Overrides Function Clone (
parent As Object
) As Object
public:
virtual Object^ Clone(
Object^ parent
) override
abstract Clone :
parent : Object -> Object
override Clone :
parent : Object -> Object
Parameters
-
parent
-
Type:
System
Object
The parent object, which should be an instance of XlsWorksheet.
Return Value
Type:
Object
A new instance of XlsDataValidationTable that is a clone of the original.
Implements
ICloneParent
Clone(Object)
Exceptions
Exception
|
Condition
|
ArgumentNullException
|
Thrown when the parent object is null or not an instance of XlsWorksheet.
|
See Also