Name property (Field)
Returns the name of the Field object. Read-only String.
Applies to
Objects: Field
Syntax
object.Name
Parameters
Part | Description |
---|---|
object | Required. An expression that returns a Field object. |
Example
Sub GetInfoAboutDataMap()
Dim objApp As New MapPoint.Application
Dim objDataMap As MapPoint.DataMap
Dim objDataSet As MapPoint.DataSet
'Set up application and objects to use
objApp.Visible = True
objApp.UserControl = True
'Let user create a data map
Set objDataMap = _
objApp.ActiveMap.DataSets.ShowDataMappingWizard()
'Get the name of the (first) field used for the data map
MsgBox objDataMap.DataFields(0).Name
End Sub