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




resourceDefinition
Resource definition, e.g., "(Layers)@MyMapService".
service
Name of the service (e.g., MyMapService).
dataFrame
Data frame (e.g., (Layers)).
Parses the service name and data frame from a string resource definition.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub FromResourceDefinition( _
   ByVal resourceDefinition As String, _
   ByRef service As String, _
   ByRef dataFrame As String _
) 
Visual Basic (Usage)Copy Code
Dim resourceDefinition As String
Dim service As String
Dim dataFrame As String
 
MapResourceBase.FromResourceDefinition(resourceDefinition, service, dataFrame)
C# 
public static void FromResourceDefinition( 
   string resourceDefinition,
   out string service,
   out string dataFrame
)

Parameters

resourceDefinition
Resource definition, e.g., "(Layers)@MyMapService".
service
Name of the service (e.g., MyMapService).
dataFrame
Data frame (e.g., (Layers)).

See Also

© 2010 All Rights Reserved.