ESRI.ArcGIS.ADF.Web.DataSources.IMS
GetMapContents Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.IMS 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 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 MapTocFunctionality
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# 
public 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
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.

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.