ESRI.ArcGIS.ADF.Web.DataSources
GetMapContents Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IMapTocFunctionality Interface : GetMapContents Method




mapFunctionalityName
Name of the map functionality.
format
Image format of the TOC layer swatches.
useMimeData
Whether to retrieve images as MIME data or generate images with URLs.
showAllDataFrames
Whether to show all data frames, if applicable.
Retrieves the contents of the map functionality's table of contents.

Syntax

Visual Basic (Declaration) 
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 IMapTocFunctionality
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# 
TocDataFrame[] GetMapContents( 
   string mapFunctionalityName,
   WebImageFormat format,
   bool useMimeData,
   bool showAllDataFrames
)

Parameters

mapFunctionalityName
Name of the map functionality.
format
Image format of the TOC layer swatches.
useMimeData
Whether to retrieve images as MIME data or generate images with URLs.
showAllDataFrames
Whether to show all data frames, if applicable.

Return Value

A set of TocDataFrame objects with legend information and symbols.

Remarks

The method may be used to retrieve table of contents (legend) information and symbols for the map functionality.

See Also

© 2010 All Rights Reserved.