Serializes a resource definition to a string.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim service As String
Dim dataFrame As String
Dim layerSourceID As String
Dim layerID As Integer
Dim value As String
value = MapResourceBase.ToResourceDefinition(service, dataFrame, layerSourceID, layerID) |
Parameters
- service
- Name of the map service (e.g., "MyMapService").
- dataFrame
- Data frame name.
- layerSourceID
- Layer source ID.
- layerID
- Layer ID.
Return Value
Serialized string version of the resource definition.
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