Compartir a través de


Clase 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.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

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

El tipo DataItem expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público DataItem() () () () Initializes a new instance of DataItem using default values.
Método público DataItem(Binding) Initializes a new instance of DataItem for the specified source.
Método público DataItem(String, String) Initializes a new instance of DataItem for the specified table and column.
Método público DataItem(Binding, OleDbType) Initializes a new instance of DataItem for the specified source with the specified OleDbType.
Método público DataItem(String, String, OleDbType) Initializes a new instance of DataItem for the specified table and column with the specified OleDbType.
Método público DataItem(Binding, OleDbType, Int32) Initializes a new instance of DataItem for the specified source with the specified OleDbType and data size.
Método público DataItem(String, String, OleDbType, Int32) Initializes a new instance of DataItem for the specified table and column with the specified OleDbType and data size.

Arriba

Propiedades

  Nombre Descripción
Propiedad públicaMiembro estático AllowedDataTypes Gets an array with the allowed data types as defined in OLEDB.
Propiedad pública Annotations Gets the collection object of all annotations to current DataItem.
Propiedad protegida CanRaiseEvents (Se hereda de Component.)
Propiedad pública Collation Gets or sets the collation definition for the current DataItem.
Propiedad pública Container (Se hereda de Component.)
Propiedad pública DataSize Gets or sets the size for current DataItem.
Propiedad pública DataType Gets or sets the type of current DataItem.
Propiedad protegida DesignMode (Se hereda de Component.)
Propiedad protegida Events (Se hereda de Component.)
Propiedad pública Format Gets or sets the formatting property for DataItem values.
Propiedad pública InvalidXmlCharacters Gets or sets the behavior for invalid characters in XML streams.
Propiedad pública MimeType Gets or sets the Mime type of the current DataItem.
Propiedad pública NullProcessing Gets or sets action the server should take when current DataItem is a Null value.
Propiedad pública Parent Gets the parent object of current DataItem.
Propiedad pública Site (Se hereda de Component.)
Propiedad pública Source Gets or sets the source object for current DataItem.
Propiedad pública Trimming Gets or sets the trimming specification for string type DataItem

Arriba

Métodos

  Nombre Descripción
Método público Clone Creates a new, deep copy of current DataItem.
Método público CopyTo Creates a deep copy of current DataItem in the specified object.
Método público CreateObjRef (Se hereda de MarshalByRefObject.)
Método público Dispose() () () () (Se hereda de Component.)
Método protegido Dispose(Boolean) (Se hereda de Component.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Component.)
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService (Se hereda de MarshalByRefObject.)
Método protegido GetService (Se hereda de Component.)
Método público GetType (Se hereda de Object.)
Método público InitializeLifetimeService (Se hereda de MarshalByRefObject.)
Método protegido MemberwiseClone() () () () (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda de MarshalByRefObject.)
Método público ToString Returns a string representation of current DataItem value. (Invalida Component. . :: . .ToString() () () ().)

Arriba

Eventos

  Nombre Descripción
Evento público Disposed (Se hereda de Component.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado ICloneable. . :: . .Clone

Arriba

Comentarios

Nuevo: 17 de julio de 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.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.