This document is archived and information here might be outdated.  Recommended version.


IGPSubtype.DefaultValue Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPSubtype.DefaultValue Property

The field's default value.

[Visual Basic .NET]
Public Function get_DefaultValue ( _
    ByVal FieldName As String _
) As Object
[Visual Basic .NET]
Public Sub set_DefaultValue ( _
    ByVal FieldName As String, _
    ByVal Value As Object _
)
[C#]
public object get_DefaultValue (
    string FieldName
);
[C#]
public void set_DefaultValue (
    string FieldName,
    object Value
);
[C++]
HRESULT get_DefaultValue(
  BSTR FieldName,
  VARIANT Value
);
[C++]
HRESULT put_DefaultValue(
  BSTR FieldName,
  Variant* Value
);
[C++]

Parameters FieldName [in]
FieldName is a parameter of type BSTR Value [in]
Value is a parameter of type VARIANT FieldName [in]
FieldName is a parameter of type BSTR Value [out, retval]
Value is a parameter of type VARIANT*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPSubtype Interface