Class FieldsClass
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("F94F7535-9FDF-11D0-BEC7-00805F7C4268")]
public class FieldsClass : Fields, IFieldsEdit, IFields, IClone, IXMLSerialize, IPersistStream, IPersist
- Inheritance
-
FieldsClass
- Implements
- Inherited Members
Constructors
FieldsClass()
public FieldsClass()
Explicit Interface Implementations
AddField(IField)
Add a field to the fields collection.
virtual void AddField(IField Field)
Parameters
FieldIField
Remarks
AddField is used when creating a fields collection and cannot be used to insert a field into a fields collection belonging to an existing table. To add a field to an existing object class, use the IClass::AddField method.
The order in which fields are added to the fields collection will dictate their order in the database.
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
DeleteAllFields()
Delete all the fields from the fields collection.
virtual void DeleteAllFields()
DeleteField(IField)
Delete a field from the fields collection.
virtual void DeleteField(IField Field)
Parameters
FieldIField
Remarks
DeleteField is used when creating a fields collection and cannot be used to delete a field from a fields collection belonging to an existing table. To delete a field from an existing object class, use the IClass::DeleteField method.
Deserialize(IXMLSerializeData)
Deserializes an object from XML.
virtual void Deserialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
Field[int]
The field at the specified index in the fields collection.
virtual IField Field[int Index] { get; }
Parameters
Indexint
Returns
FieldCount
The number of fields in the fields collection.
virtual int FieldCount { get; }
Returns
Remarks
FieldCount is a one-based index. Therefore if you want to use IFields::FieldCount to get a particular index and use IFields::Field to get the field at the particular index, you will need to convert FieldCount to a zero-based index.
FindField(string)
Finds the index of the named field in the fields collection.
virtual int FindField(string Name)
Parameters
Namestring
Returns
Remarks
If
FindField returns -1, the Field could not be found in the Fields
collection.
Developers working with
SDE should be aware of qualified field names and their impact on
calls to FindField. For more information, see the IFields2
interface.
FindFieldByAliasName(string)
Finds the index of the field with the alias name in the fields collection.
virtual int FindFieldByAliasName(string Name)
Parameters
Namestring
Returns
FindFieldIgnoreQualification(ISQLSyntax, string, out int)
Finds the index of a field given a particular SQLSyntax workspace.
virtual void FindFieldIgnoreQualification(ISQLSyntax sqlSyntax, string Name, out int Index)
Parameters
sqlSyntaxISQLSyntaxNamestringIndexint
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
IFieldsEdit_Field[int]
virtual IField IFieldsEdit_Field[int Index] { get; }
Parameters
Indexint
Returns
IFieldsEdit_FieldCount
virtual int IFieldsEdit_FieldCount { get; }
Returns
IFieldsEdit_FieldCount_2
The Number of fields in this field collection.
virtual int IFieldsEdit_FieldCount_2 { set; }
Returns
IFieldsEdit_Field_2[int]
The field at the specified position.
virtual IField IFieldsEdit_Field_2[int Index] { set; }
Parameters
Indexint
Returns
IFieldsEdit_FindField(string)
virtual int IFieldsEdit_FindField(string Name)
Parameters
Namestring
Returns
IFieldsEdit_FindFieldByAliasName(string)
virtual int IFieldsEdit_FindFieldByAliasName(string Name)
Parameters
Namestring
Returns
IFieldsEdit_FindFieldIgnoreQualification(ISQLSyntax, string, out int)
virtual void IFieldsEdit_FindFieldIgnoreQualification(ISQLSyntax sqlSyntax, string Name, out int Index)
Parameters
sqlSyntaxISQLSyntaxNamestringIndexint
IPersistStream_GetClassID(out Guid)
virtual void IPersistStream_GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
IsDirty()
virtual void IsDirty()
IsEqual(IClone)
Indicates if the receiver and other have the same properties.
virtual bool IsEqual(IClone other)
Parameters
otherIClone
Returns
IsIdentical(IClone)
Indicates if the receiver and other are the same object.
virtual bool IsIdentical(IClone other)
Parameters
otherIClone
Returns
Load(IStream)
virtual void Load(IStream pstm)
Parameters
pstmIStream
Save(IStream, int)
virtual void Save(IStream pstm, int fClearDirty)
Parameters
Serialize(IXMLSerializeData)
Serializes an object to XML.
virtual void Serialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData