Class CodedValueDomainClass
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
[Guid("F84C6C1B-47FF-11D2-9933-0000F80372B4")]
[ClassInterface(ClassInterfaceType.None)]
public class CodedValueDomainClass : CodedValueDomain, IDomain, ICodedValueDomain3, ICodedValueDomain2, ICodedValueDomain, IClone, IPersistStream, IPersist, ISchemaLock, IXMLSerialize
- Inheritance
-
CodedValueDomainClass
- Implements
- Inherited Members
Constructors
CodedValueDomainClass()
public CodedValueDomainClass()
Explicit Interface Implementations
AddCode(object, string)
Adds a (value, name) code.
virtual void AddCode(object Value, string Name)
Parameters
Remarks
AlterCodedValueDescription(object, string)
Alters the description for the specified code.
virtual void AlterCodedValueDescription(object Value, string newDescription)
Parameters
Assign(IClone)
Assigns the properties of src to the receiver.
virtual void Assign(IClone src)
Parameters
srcIClone
ChangeSchemaLock(esriSchemaLock)
Changes a schema lock.
virtual void ChangeSchemaLock(esriSchemaLock schemaLock)
Parameters
schemaLockesriSchemaLock
Remarks
- Modifications to attribute domains, such as adding or removing values from a coded value domain or changing the range for range domains
- Adding or deleting a field from a feature class or object class
- Associating a class extension with a feature class
- Creating a topology, geometric network, network dataset, terrain, schematic dataset, representation, or cadastral fabric on a set of feature classes
- Any use of the IClassSchemaEdit interface
- Putting a feature class into and taking it out of load-only mode with the IFeatureClassLoad.LoadOnlyMode method
- Managing (creating, deleting, or modifying) spatial and attribute indexes
Clone()
Clones the receiver and assigns the result to *clone.
virtual IClone Clone()
Returns
CodeCount
The number of codes for the associated attribute.
virtual int CodeCount { get; }
Returns
DeleteCode(object)
Deletes a code with the specified value.
virtual void DeleteCode(object Value)
Parameters
Valueobject
Remarks
Description
The description of the domain.
virtual string Description { get; set; }
Returns
Deserialize(IXMLSerializeData)
Deserializes an object from XML.
virtual void Deserialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
DomainID
The ID of the domain.
virtual int DomainID { get; set; }
Returns
FieldType
The field type of the field.
virtual esriFieldType FieldType { get; set; }
Returns
GetClassID(out Guid)
virtual void GetClassID(out Guid pClassID)
Parameters
pClassIDGuid
GetCurrentSchemaLocks(out IEnumSchemaLockInfo)
The list of current locks.
virtual void GetCurrentSchemaLocks(out IEnumSchemaLockInfo schemaLockInfo)
Parameters
schemaLockInfoIEnumSchemaLockInfo
Remarks
The ISchemaLockInfo interface is used in concert with ISchemaLock to provide information about a schema lock, for example, whether it is shared or exclusive and for ArcSDE geodatabases, the name of the user who has the lock. Note that there will always be at least one schema lock on the dataset. Also note that by checking the schema locks on a dataset a shared schema lock is applied to the data.
GetSizeMax(out _ULARGE_INTEGER)
virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)
Parameters
pcbSize_ULARGE_INTEGER
ICodedValueDomain2_AddCode(object, string)
virtual void ICodedValueDomain2_AddCode(object Value, string Name)
Parameters
ICodedValueDomain2_CodeCount
virtual int ICodedValueDomain2_CodeCount { get; }
Returns
ICodedValueDomain2_DeleteCode(object)
virtual void ICodedValueDomain2_DeleteCode(object Value)
Parameters
Valueobject
ICodedValueDomain2_Name[int]
virtual string ICodedValueDomain2_Name[int Index] { get; }
Parameters
Indexint
Returns
ICodedValueDomain2_Value[int]
virtual object ICodedValueDomain2_Value[int Index] { get; }
Parameters
Indexint
Returns
ICodedValueDomain3_AddCode(object, string)
virtual void ICodedValueDomain3_AddCode(object Value, string Name)
Parameters
ICodedValueDomain3_CodeCount
virtual int ICodedValueDomain3_CodeCount { get; }
Returns
ICodedValueDomain3_DeleteCode(object)
virtual void ICodedValueDomain3_DeleteCode(object Value)
Parameters
Valueobject
ICodedValueDomain3_Name[int]
virtual string ICodedValueDomain3_Name[int Index] { get; }
Parameters
Indexint
Returns
ICodedValueDomain3_SortByName(bool)
virtual void ICodedValueDomain3_SortByName(bool descending)
Parameters
descendingbool
ICodedValueDomain3_SortByValue(bool)
virtual void ICodedValueDomain3_SortByValue(bool descending)
Parameters
descendingbool
ICodedValueDomain3_Value[int]
virtual object ICodedValueDomain3_Value[int Index] { get; }
Parameters
Indexint
Returns
ICodedValueDomain_Name[int]
The code name for the specified code index.
virtual string ICodedValueDomain_Name[int Index] { get; }
Parameters
Indexint
Returns
Remarks
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
MemberOf(object)
Indicates whether the value is a valid member of the domain.
virtual bool MemberOf(object Value)
Parameters
Valueobject
Returns
MergePolicy
The merge policy.
virtual esriMergePolicyType MergePolicy { get; set; }
Returns
Name
The name of the domain.
virtual string Name { get; set; }
Returns
Owner
The owner of the domain.
virtual string Owner { get; set; }
Returns
Remarks
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
SortByName(bool)
Sort the codes in the coded value domain by name.
virtual void SortByName(bool descending)
Parameters
descendingbool
SortByValue(bool)
Sort the codes in the coded value domain by value.
virtual void SortByValue(bool descending)
Parameters
descendingbool
SplitPolicy
The split policy.
virtual esriSplitPolicyType SplitPolicy { get; set; }
Returns
Type
The domain type.
virtual esriDomainType Type { get; }
Returns
Value[int]
The value for the specified code index.
virtual object Value[int Index] { get; }
Parameters
Indexint