The model name of the object class field.
[Visual Basic 6.0] Sub AlterFieldModelName(
ByVal FieldName As String, _
ByVal ModelName As String _
)
[Visual Basic .NET] Public Sub AlterFieldModelName ( _ ByVal FieldName As String, _ ByVal ModelName As String _ )
[C#] public void AlterFieldModelName ( string FieldName, string ModelName );
[Java] public void alterFieldModelName ( String FieldName, String ModelName ) throws IOException, AutomationException
[C++]
HRESULT AlterFieldModelName(
BSTR FieldName,
BSTR ModelName
);
Parameters
FieldName [in]
FieldName is a parameter of type BSTR
ModelName [in]
ModelName is a parameter of type BSTR
Alters the model name for a field in the object class.
Fields in object classes in a Geodatabase can have between one and three names. The name of the field, which is the same as the name of the field in the table in the DBMS in which the objects in the object class are stored, the alias name which the user can set for display purposes in end user applications. The third name is the model name which is a tool for developers of custom objects to use to guarantee the names of fields independent of the true name or alias name.
The AlterFieldModelName method sets the model name for a field in the object class. The model name can be returned using the IModelInfo interface.
IClassSchemaEdit Interface | IField Interface