ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToResourceDefinition(String,String) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapResourceBase Class > ToResourceDefinition Method : ToResourceDefinition(String,String) Method




service
Name of the map service (e.g., "MyMapService").
dataFrame
Data frame (e.g., "(Layers)").
Serializes a resource definition to a string.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ToResourceDefinition( _
   ByVal service As String, _
   ByVal dataFrame As String _
) As String
Visual Basic (Usage)Copy Code
Dim service As String
Dim dataFrame As String
Dim value As String
 
value = MapResourceBase.ToResourceDefinition(service, dataFrame)
C# 
public static string ToResourceDefinition( 
   string service,
   string dataFrame
)

Parameters

service
Name of the map service (e.g., "MyMapService").
dataFrame
Data frame (e.g., "(Layers)").

Return Value

Serialized resource definition (e.g., "(Layers)@MyMapService").

See Also

© 2010 All Rights Reserved.