DataItem 類別

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. . :: . .Object
  System. . :: . .MarshalByRefObject
    System.ComponentModel. . :: . .Component
      Microsoft.AnalysisServices..::..DataItem

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
<GuidAttribute("DC06C2CC-28F4-41d0-AB97-7C78561AC9DC")> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.DataItemTypeConverter, Microsoft.AnalysisServices.Design")> _
Public NotInheritable Class DataItem _
    Inherits Component _
    Implements ICloneable
'用途
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

DataItem 型別公開下列成員。

建構函式

  名稱 說明
公用方法 DataItem() () () () Initializes a new instance of DataItem using default values.
公用方法 DataItem(Binding) Initializes a new instance of DataItem for the specified source.
公用方法 DataItem(String, String) Initializes a new instance of DataItem for the specified table and column.
公用方法 DataItem(Binding, OleDbType) Initializes a new instance of DataItem for the specified source with the specified OleDbType.
公用方法 DataItem(String, String, OleDbType) Initializes a new instance of DataItem for the specified table and column with the specified OleDbType.
公用方法 DataItem(Binding, OleDbType, Int32) Initializes a new instance of DataItem for the specified source with the specified OleDbType and data size.
公用方法 DataItem(String, String, OleDbType, Int32) Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.

上層

屬性

  名稱 說明
公用屬性靜態成員 AllowedDataTypes Gets an array with the allowed data types as defined in OLEDB.
公用屬性 Annotations Gets the collection object of all annotations to current DataItem.
受保護的屬性 CanRaiseEvents (繼承自 Component。)
公用屬性 Collation Gets or sets the collation definition for the current DataItem.
公用屬性 Container (繼承自 Component。)
公用屬性 DataSize Gets or sets the size for current DataItem.
公用屬性 DataType Gets or sets the type of current DataItem.
受保護的屬性 DesignMode (繼承自 Component。)
受保護的屬性 Events (繼承自 Component。)
公用屬性 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.
公用屬性 Site (繼承自 Component。)
公用屬性 Source Gets or sets the source object for current DataItem.
公用屬性 Trimming Gets or sets the trimming specification for string type DataItem

上層

方法

  名稱 說明
公用方法 Clone Creates a new, deep copy of current DataItem.
公用方法 CopyTo Creates a deep copy of current DataItem in the specified object.
公用方法 CreateObjRef (繼承自 MarshalByRefObject。)
公用方法 Dispose() () () () (繼承自 Component。)
受保護的方法 Dispose(Boolean) (繼承自 Component。)
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Component。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetLifetimeService (繼承自 MarshalByRefObject。)
受保護的方法 GetService (繼承自 Component。)
公用方法 GetType (繼承自 Object。)
公用方法 InitializeLifetimeService (繼承自 MarshalByRefObject。)
受保護的方法 MemberwiseClone() () () () (繼承自 Object。)
受保護的方法 MemberwiseClone(Boolean) (繼承自 MarshalByRefObject。)
公用方法 ToString Returns a string representation of current DataItem value. (覆寫 Component. . :: . .ToString() () () ()。)

上層

事件

  名稱 說明
公用事件 Disposed (繼承自 Component。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 ICloneable. . :: . .Clone

上層

備註

新增: 2006 年 7 月 17 日

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.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。