ESRI.ArcGIS.DataManagementTools
CreateDomain Constructor(Object,String,String,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.DataManagementTools Namespace > CreateDomain Class > CreateDomain Constructor : CreateDomain Constructor(Object,String,String,String)




in_workspace
The geodatabase that will contain the new domain. (In, Required)
domain_name
The name of the domain that will be created. (In, Required)
domain_description
The description of the domain that will be created. (In, Required)
field_type
The type of attribute domain to create. Attribute domains are rules that describe the legal values of a field type. Specify a field type that matches the data type of the field to which the attribute domain will be assigned. (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 domain_description As String, _
   ByVal field_type As String _
)
Visual Basic (Usage)Copy Code
Dim in_workspace As Object
Dim domain_name As String
Dim domain_description As String
Dim field_type As String
 
Dim instance As CreateDomain(in_workspace, domain_name, domain_description, field_type)
C# 
public CreateDomain( 
   object in_workspace,
   string domain_name,
   string domain_description,
   string field_type
)

Parameters

in_workspace
The geodatabase that will contain the new domain. (In, Required)
domain_name
The name of the domain that will be created. (In, Required)
domain_description
The description of the domain that will be created. (In, Required)
field_type
The type of attribute domain to create. Attribute domains are rules that describe the legal values of a field type. Specify a field type that matches the data type of the field to which the attribute domain will be assigned. (In, Required)

See Also

© 2010 All Rights Reserved.