Aracılığıyla paylaş


DataItem Class

Definition

Describes a data item that includes the definition of that data item (size, type and more), and the details of the binding to some source. This class cannot be inherited.

[System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design.AS")]
[System.Runtime.InteropServices.Guid("DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")]
public sealed class DataItem : System.ComponentModel.Component, ICloneable
[<System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design.AS")>]
[<System.Runtime.InteropServices.Guid("DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")>]
type DataItem = class
    inherit Component
    interface ICloneable
Public NotInheritable Class DataItem
Inherits Component
Implements ICloneable
Inheritance
DataItem
Attributes
Implements

Constructors

DataItem()

Initializes a new instance of DataItem using default values.

DataItem(Binding, DataType, Int32)

Initializes a new instance of DataItem for the specified source with the specified type and data size.

DataItem(Binding, DataType)

Initializes a new instance of DataItem for the specified source with the specified type.

DataItem(Binding, OleDbType, Int32)

Initializes a new instance of DataItem for the specified source with the specified OleDbType and data size.

DataItem(Binding, OleDbType)

Initializes a new instance of DataItem for the specified source with the specified OleDbType.

DataItem(Binding)

Initializes a new instance of DataItem for the specified source.

DataItem(String, String, DataType, Int32)

Initializes a new instance of DataItem for the specified table and column with the specified type and data size.

DataItem(String, String, DataType)

Initializes a new instance of DataItem for the specified table and column with the specified type.

DataItem(String, String, OleDbType, Int32)

Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.

DataItem(String, String, OleDbType)

Initializes a new instance of DataItem for the specified table and column with the specified OleDbType.

DataItem(String, String)

Initializes a new instance of DataItem for the specified table and column.

Properties

AllowedDataTypes

Gets an array with the allowed data types as defined in OLEDB.

AllowedTypes

Gets the set of types that are valid for any data-item.

Annotations

Gets the collection object of all annotations to current DataItem.

Collation

Gets or sets the collation definition for the current DataItem.

DataSize

Gets or sets the size for current DataItem.

DataType

Gets or sets the type of current DataItem.

Format

Gets or sets the formatting property for DataItem values.

InvalidXmlCharacters

Gets or sets the behavior for invalid characters in XML streams.

MimeType

Gets or sets the Mime type of the current DataItem.

NullProcessing

Gets or sets action the server should take when current DataItem is a Null value.

Parent

Gets the parent object of current DataItem.

Source

Gets or sets the source object for current DataItem.

Trimming

Gets or sets the trimming specification for string type DataItem

Type

Gets or sets the type of current DataItem.

Methods

Clone()

Returns a clone of the object.

CopyTo(DataItem)

Copies the content of this object to another object (the destination).

ToString()

Returns a string representation of current DataItem value.

Explicit Interface Implementations

ICloneable.Clone()

Applies to