public enum MergePolicy : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum MergePolicy Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum MergePolicy : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Public Enum MergePolicy Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
AreaWeighted | The attribute of the resulting feature is the weighted average of the values of the attributes from the original features. |
DefaultValue | The attribute of the resulting feature takes on the default value for the attribute of the given feature or subtype. |
SumValues | The attribute of the resulting feature takes on the sum of the values from the original features' attributes. |
// Create a CodedValueDomain description for water pipes CodedValueDomainDescription codedValueDomainDescription = new CodedValueDomainDescription("WaterPipeTypes", FieldType.String, new SortedList<object, string> { { "Copper", "C_1" }, { "Steel", "S_2" } }) { SplitPolicy = SplitPolicy.Duplicate, MergePolicy = MergePolicy.DefaultValue }; SchemaBuilder schemaBuilder = new SchemaBuilder(geodatabase); // Create a coded value domain CodedValueDomainToken codedValueDomainToken = schemaBuilder.Create(codedValueDomainDescription); schemaBuilder.Build();
System.Object
System.ValueType
System.Enum
ArcGIS.Core.Data.MergePolicy
Target Platforms: Windows 11, Windows 10, Windows 8.1