Freigeben über


DataItem-Klasse

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.

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .MarshalByRefObject
    System.ComponentModel. . :: . .Component
      Microsoft.AnalysisServices..::..DataItem

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<GuidAttribute("DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")> _
Public NotInheritable Class DataItem _
    Inherits Component _
    Implements ICloneable
'Usage
Dim instance As DataItem
[GuidAttribute("DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")]
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")]
public sealed class DataItem : Component, 
    ICloneable
[GuidAttribute(L"DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")]
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")]
public ref class DataItem sealed : public Component, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")>]
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")>]
type DataItem =  
    class
        inherit Component
        interface ICloneable
    end
public final class DataItem extends Component implements ICloneable

Der DataItem-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode DataItem() () () () Initializes a new instance of DataItem using default values.
Öffentliche Methode DataItem(Binding) Initializes a new instance of DataItem for the specified source.
Öffentliche Methode DataItem(String, String) Initializes a new instance of DataItem for the specified table and column.
Öffentliche Methode DataItem(Binding, OleDbType) Initializes a new instance of DataItem for the specified source with the specified OleDbType.
Öffentliche Methode DataItem(String, String, OleDbType) Initializes a new instance of DataItem for the specified table and column with the specified OleDbType.
Öffentliche Methode DataItem(Binding, OleDbType, Int32) Initializes a new instance of DataItem for the specified source with the specified OleDbType and data size.
Öffentliche Methode DataItem(String, String, OleDbType, Int32) Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche EigenschaftStatisches Element AllowedDataTypes Gets an array with the allowed data types as defined in OLEDB.
Öffentliche Eigenschaft Annotations Gets the collection object of all annotations to current DataItem.
Geschützte Eigenschaft CanRaiseEvents (Geerbt von Component.)
Öffentliche Eigenschaft Collation Gets or sets the collation definition for the current DataItem.
Öffentliche Eigenschaft Container (Geerbt von Component.)
Öffentliche Eigenschaft DataSize Gets or sets the size for current DataItem.
Öffentliche Eigenschaft DataType Gets or sets the type of current DataItem.
Geschützte Eigenschaft DesignMode (Geerbt von Component.)
Geschützte Eigenschaft Events (Geerbt von Component.)
Öffentliche Eigenschaft Format Gets or sets the formatting property for DataItem values.
Öffentliche Eigenschaft InvalidXmlCharacters Gets or sets the behavior for invalid characters in XML streams.
Öffentliche Eigenschaft MimeType Gets or sets the Mime type of the current DataItem.
Öffentliche Eigenschaft NullProcessing Gets or sets action the server should take when current DataItem is a Null value.
Öffentliche Eigenschaft Parent Gets the parent object of current DataItem.
Öffentliche Eigenschaft Site (Geerbt von Component.)
Öffentliche Eigenschaft Source Gets or sets the source object for current DataItem.
Öffentliche Eigenschaft Trimming Gets or sets the trimming specification for string type DataItem

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Clone Creates a new, deep copy of current DataItem.
Öffentliche Methode CopyTo Creates a deep copy of current DataItem in the specified object.
Öffentliche Methode CreateObjRef (Geerbt von MarshalByRefObject.)
Öffentliche Methode Dispose() () () () (Geerbt von Component.)
Geschützte Methode Dispose(Boolean) (Geerbt von Component.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Component.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLifetimeService (Geerbt von MarshalByRefObject.)
Geschützte Methode GetService (Geerbt von Component.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode InitializeLifetimeService (Geerbt von MarshalByRefObject.)
Geschützte Methode MemberwiseClone() () () () (Geerbt von Object.)
Geschützte Methode MemberwiseClone(Boolean) (Geerbt von MarshalByRefObject.)
Öffentliche Methode ToString Returns a string representation of current DataItem value. (Überschreibt Component. . :: . .ToString() () () ().)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis Disposed (Geerbt von Component.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ICloneable. . :: . .Clone

Zum Anfang

Hinweise

Neu: 17. Juli 2006

This element type is used for any data item which can be bound to a data source, for example: measure, attribute keys, and attribute names.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.