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




in_table
Input table or feature class that will have a default value added to one of its fields. (In, Required)
field_name
Field that will have the default value added to it each time a new row is added to the table or feature class. (In, Required)
default_value
The string for the default value to be added to each new table or feature class. The field type controls what kind of string can be added. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_table As Object, _
   ByVal field_name As Object, _
   ByVal default_value As String _
)
Visual Basic (Usage)Copy Code
Dim in_table As Object
Dim field_name As Object
Dim default_value As String
 
Dim instance As AssignDefaultToField(in_table, field_name, default_value)
C# 
public AssignDefaultToField( 
   object in_table,
   object field_name,
   string default_value
)

Parameters

in_table
Input table or feature class that will have a default value added to one of its fields. (In, Required)
field_name
Field that will have the default value added to it each time a new row is added to the table or feature class. (In, Required)
default_value
The string for the default value to be added to each new table or feature class. The field type controls what kind of string can be added. (In, Required)

See Also

© 2010 All Rights Reserved.