Click or drag to resize
Ranorex

CsvDataConnector Class

Provides access to data in a CSV (Character Separated Values) file.
Inheritance Hierarchy
SystemObject
  Ranorex.Core.DataDataConnector
    Ranorex.Core.DataFileDataConnector
      Ranorex.Core.DataCsvDataConnector

Namespace:  Ranorex.Core.Data
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public sealed class CsvDataConnector : FileDataConnector

The CsvDataConnector type exposes the following members.

Constructors
  NameDescription
Public methodCsvDataConnector(XmlNode)
Initializes a new instance of the CsvDataConnector class.
Public methodCsvDataConnector(String, String, Boolean)
Initializes a new instance of the CsvDataConnector class.
Public methodCsvDataConnector(String, String, Boolean, CheckState)
Initializes a new instance of the CsvDataConnector class.
Top
Properties
  NameDescription
Public propertyFileName
Gets or sets the name of the file.
(Inherited from FileDataConnector.)
Public propertyId
Gets or sets the unique ID of the source.
(Inherited from DataConnector.)
Public propertyIncludeFile
Gets or sets a value specifying whether the file should be included into the associated project.
(Overrides FileDataConnectorIncludeFile.)
Public propertyIsReadOnly
Gets or sets a value indicating whether this instance is read-only.
(Inherited from DataConnector.)
Public propertyLastParseSeparatorChar
Gets the separator character used when last parsing the data from the CSV file.
Public propertyName
Gets or sets the name of the source.
(Inherited from DataConnector.)
Public propertyResolvedFileName
Gets the name of the resolved file that takes relative paths into account.
(Inherited from FileDataConnector.)
Public propertySeparatorChar
Gets or sets the separator character.
Public propertyWithHeaders
Gets or sets a value indicating whether the CSV file contains a header specifying column names.
Public propertyXmlIdentifier
Gets the unique identifier for serialization and deserialization purposes as well as factory creation.
(Overrides DataConnectorXmlIdentifier.)
Top
Methods
  NameDescription
Public methodDispose
Clean up any resources being used.
(Inherited from DataConnector.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Inherited from DataConnector.)
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 methodGetXMLNode
Gets an XML node containing the definition of this source.
(Inherited from DataConnector.)
Protected methodGetXMLNodeDerived
Add DataSource specific information from derived classes to the node
(Overrides DataConnectorGetXMLNodeDerived(XmlNode).)
Public methodLoadColumns
Loads the data columns from the source.
(Inherited from DataConnector.)
Protected methodLoadColumnsImpl(ColumnCollection)
Loads the data columns from the CSV file.
(Overrides DataConnectorLoadColumnsImpl(ColumnCollection).)
Protected methodLoadColumnsImpl(ColumnCollection, Int32)
If implemented by an inheriting class, loads the data columns from the source and the number of rows in the data source.
(Inherited from DataConnector.)
Public methodLoadData
Loads the data from the source.
(Inherited from DataConnector.)
Protected methodLoadDataImpl
Loads the data from the CSV file.
(Overrides FileDataConnectorLoadDataImpl(ColumnCollection, RowCollection).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnFileNameChanged
Called when the filename changes
(Inherited from FileDataConnector.)
Public methodStoreData(ColumnCollection, RowCollection)
Stores the data to the data source.
(Inherited from DataConnector.)
Public methodStoreData(ColumnCollection, RowCollection, String)
Stores the data to the CSV file.
Protected methodStoreDataImpl
Stores the data to the CSV file.
(Overrides DataConnectorStoreDataImpl(ColumnCollection, RowCollection).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also