DataManagementTools
CreateDomain Constructor(Object,String,String,String)
See Also  Send Feedback
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 New 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)

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.