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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。