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

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.