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() () () ()。) |
上層
備註
新增: 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)