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




resourceDefinition
Resource definition that includes layer information.
service
Output parameter: service name.
dataFrame
Output parameter: data frame.
layerSourceID
Output parameter: layer source ID.
layerID
Output parameter: layer ID.
Parses the service and other information from a resource definition string.

Syntax

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

Parameters

resourceDefinition
Resource definition that includes layer information.
service
Output parameter: service name.
dataFrame
Output parameter: data frame.
layerSourceID
Output parameter: layer source ID.
layerID
Output parameter: layer ID.

See Also

© 2010 All Rights Reserved.