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

Field IField

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

src IClone

Clone()

Clones the receiver and assigns the result to *clone.

virtual IClone Clone()

Returns

IClone

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

Field IField

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

data IXMLSerializeData

Field[int]

The field at the specified index in the fields collection.

virtual IField Field[int Index] { get; }

Parameters

Index int

Returns

IField

FieldCount

The number of fields in the fields collection.

virtual int FieldCount { get; }

Returns

int

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

Name string

Returns

int

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

Name string

Returns

int

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

sqlSyntax ISQLSyntax
Name string
Index int

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

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

Index int

Returns

IField

IFieldsEdit_FieldCount

virtual int IFieldsEdit_FieldCount { get; }

Returns

int

IFieldsEdit_FieldCount_2

The Number of fields in this field collection.

virtual int IFieldsEdit_FieldCount_2 { set; }

Returns

int

IFieldsEdit_Field_2[int]

The field at the specified position.

virtual IField IFieldsEdit_Field_2[int Index] { set; }

Parameters

Index int

Returns

IField

IFieldsEdit_FindField(string)

virtual int IFieldsEdit_FindField(string Name)

Parameters

Name string

Returns

int

IFieldsEdit_FindFieldByAliasName(string)

virtual int IFieldsEdit_FindFieldByAliasName(string Name)

Parameters

Name string

Returns

int

IFieldsEdit_FindFieldIgnoreQualification(ISQLSyntax, string, out int)

virtual void IFieldsEdit_FindFieldIgnoreQualification(ISQLSyntax sqlSyntax, string Name, out int Index)

Parameters

sqlSyntax ISQLSyntax
Name string
Index int

IPersistStream_GetClassID(out Guid)

virtual void IPersistStream_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IsDirty()

virtual void IsDirty()

IsEqual(IClone)

Indicates if the receiver and other have the same properties.

virtual bool IsEqual(IClone other)

Parameters

other IClone

Returns

bool

IsIdentical(IClone)

Indicates if the receiver and other are the same object.

virtual bool IsIdentical(IClone other)

Parameters

other IClone

Returns

bool

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData