DataManagementTools
AddCodedValueToDomain Constructor(Object,String,String,String)
See Also  Send Feedback
ESRI.ArcGIS.DataManagementTools Namespace > AddCodedValueToDomain Class > AddCodedValueToDomain Constructor : AddCodedValueToDomain Constructor(Object,String,String,String)




in_workspace
The geodatabase containing the domain to be updated. (In, Required)
domain_name
The name of the attribute domain that will have a value added to its coded value list. (In, Required)
code
The value to be added to the specified domain's coded value list. (In, Required)
code_description
A description of what the coded value represents. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_workspace As Object, _
   ByVal domain_name As String, _
   ByVal code As String, _
   ByVal code_description As String _
)
Visual Basic (Usage)Copy Code
Dim in_workspace As Object
Dim domain_name As String
Dim code As String
Dim code_description As String
 
Dim instance As New AddCodedValueToDomain(in_workspace, domain_name, code, code_description)
C# 
public AddCodedValueToDomain( 
   object in_workspace,
   string domain_name,
   string code,
   string code_description
)

Parameters

in_workspace
The geodatabase containing the domain to be updated. (In, Required)
domain_name
The name of the attribute domain that will have a value added to its coded value list. (In, Required)
code
The value to be added to the specified domain's coded value list. (In, Required)
code_description
A description of what the coded value represents. (In, Required)

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.