ESRI.ArcGIS.ADF.Web.DataSources
Find(String,Type) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources Namespace > GISResourceCollection Class > Find Method : Find(String,Type) Method




name
Name of the item to find.
resourceType
Type of resource to find.
Find the item in the collection with the given name.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Find( _
   ByVal name As String, _
   ByVal resourceType As Type _
) As IGISResource
Visual Basic (Usage)Copy Code
Dim instance As GISResourceCollection
Dim name As String
Dim resourceType As Type
Dim value As IGISResource
 
value = instance.Find(name, resourceType)
C# 
public IGISResource Find( 
   string name,
   Type resourceType
)

Parameters

name
Name of the item to find.
resourceType
Type of resource to find.

Return Value

The item with the passed in name.

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.