Click or drag to resize

ExcelDataSource Methods

The ExcelDataSource type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DataSource.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from DataSource.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportData
Import Data from the given data source. After a successful import, the Data property will be filled. If HasHeader is set to True, the Headers property will be automatically assigned.
(Overrides DataSourceImportData(TestCase).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnPropertyChanged
Called when property value has changed.
(Inherited from DataSource.)
Public methodReadData
Fetches the next row from the Data. This function can only be called when Headers and Data are imported.
(Inherited from DataSource.)
Public methodResetCursor
Resets the current cursor to line 0, This function will be called systematically by the DataDrivenTestCase before the test.
(Inherited from DataSource.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also