DataSets property

Returns the DataSets collection from the map. Read-only.

Applies to

Objects:  Map

Syntax

object.DataSets

Part Description
object Required. An expression that returns a Map object.

Example

    Sub UseDataSetsProperty()

  Dim objApp As New MapPoint.Application
  'Set up the application   objApp.Visible = True   objApp.UserControl = True
  'Use the map DataSets property to add an empty Pushpin set to the map   objApp.ActiveMap.DataSets.AddPushpinSet "New Pushpin Set"
  End Sub