ESRI.ArcGIS.ADF.Web.DataSources
GetMapContents Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.WebImageFormat, _
   ByVal useMimeData As Boolean, _
   ByVal showAllDataFrames As Boolean _
) As ESRI.ArcGIS.ADF.Web.TocDataFrame()
Visual Basic (Usage)Copy Code
Dim instance As IMapTocFunctionality
Dim mapFunctionalityName As String
Dim format As ESRI.ArcGIS.ADF.Web.WebImageFormat
Dim useMimeData As Boolean
Dim showAllDataFrames As Boolean
Dim value() As ESRI.ArcGIS.ADF.Web.TocDataFrame
 
value = instance.GetMapContents(mapFunctionalityName, format, useMimeData, showAllDataFrames)
C# 
ESRI.ArcGIS.ADF.Web.TocDataFrame[] GetMapContents( 
   string mapFunctionalityName,
   ESRI.ArcGIS.ADF.Web.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.