Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Resulta útil saber que las colecciones heredan ciertos métodos y propiedades comunes.
Todas las colecciones heredan la propiedad Count y el método Refresh , y todas las colecciones agregan la propiedad Item . La colección Errors agrega el método Clear . La colección Parameters hereda los métodosAppend y Delete , mientras que la colección Fields agrega los métodos Append, Delete y Update .
Colección Properties
Métodos
HRESULT Refresh( );
Propiedades
long GetCount( ); __declspec(property(get=GetCount)) long Count;
PropertyPtr GetItem( const _variant_t & Index ); __declspec(property(get=GetItem)) PropertyPtr Item[];
Colección Errors
Métodos
HRESULT Clear( );
HRESULT Refresh( );
Propiedades
long GetCount( ); __declspec(property(get=GetCount)) long Count;
PropertyPtr GetItem( const _variant_t & Index ); __declspec(property(get=GetItem)) PropertyPtr Item[];
Colección Parameters
Métodos
HRESULT Append( IDispatch * Object );
HRESULT Delete( const _variant_t & Index );
HRESULT Refresh( );
Propiedades
long GetCount( ); __declspec(property(get=GetCount)) long Count;
PropertyPtr GetItem( const _variant_t & Index ); __declspec(property(get=GetItem)) PropertyPtr Item[];
Colección Fields
Métodos
HRESULT Append( _bstr_t Name, enum DataTypeEnum Type, long DefinedSize, enum FieldAttributeEnum Attrib, const _variant_t & FieldValue = vtMissing );
HRESULT Delete( const _variant_t & Index );
HRESULT Refresh( );
HRESULT Update( );
Propiedades
long GetCount( ); __declspec(property(get=GetCount)) long Count;
PropertyPtr GetItem( const _variant_t & Index ); __declspec(property(get=GetItem)) PropertyPtr Item[];
Véase también
colección de errores (ADO)
colección fields (ADO)
colección de parámetros (ADO)
Colección de Propiedades (ADO)