ESRI.ArcGIS.ADF.Web.DataSources
Find(String,Type) Method
See Also 
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.

See Also

© 2010 All Rights Reserved.