ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetMapContents Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > MapTocFunctionality Class : GetMapContents Method




mapFunctionalityName
Name of the map functionality.
format
Format for TOC images (JPG, PNG8, etc.).
useMimeData
Whether images will be retrieved as MIME data, or if false, as images by URL.
showAllDataFrames
Whether to include all data frames.
Gets a TocDataFrame object used to add map contents information to the table of contents control.

Syntax

Visual Basic (Declaration) 
Public Function GetMapContents( _
   ByVal mapFunctionalityName As String, _
   ByVal format As WebImageFormat, _
   ByVal useMimeData As Boolean, _
   ByVal showAllDataFrames As Boolean _
) As TocDataFrame()
Visual Basic (Usage)Copy Code
Dim instance As MapTocFunctionality
Dim mapFunctionalityName As String
Dim format As WebImageFormat
Dim useMimeData As Boolean
Dim showAllDataFrames As Boolean
Dim value() As TocDataFrame
 
value = instance.GetMapContents(mapFunctionalityName, format, useMimeData, showAllDataFrames)
C# 
public TocDataFrame[] GetMapContents( 
   string mapFunctionalityName,
   WebImageFormat format,
   bool useMimeData,
   bool showAllDataFrames
)

Parameters

mapFunctionalityName
Name of the map functionality.
format
Format for TOC images (JPG, PNG8, etc.).
useMimeData
Whether images will be retrieved as MIME data, or if false, as images by URL.
showAllDataFrames
Whether to include all data frames.

Return Value

An array of TocDataFrame objects with methods and properties used to show map contents in the table of contents control.

See Also

© 2010 All Rights Reserved.