ESRI.ArcGIS.ADF.Web.DataSources.Graphics
CreateResource Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.Graphics Namespace > GISDataSource Class : CreateResource Method




resourceDefinition
The definition of the resource to be created.
name
The name of the resource to be created.
Creates a resource with the passed in definition

Syntax

Visual Basic (Declaration) 
Public Function CreateResource( _
   ByVal resourceDefinition As String, _
   ByVal name As String _
) As IGISResource
Visual Basic (Usage)Copy Code
Dim instance As GISDataSource
Dim resourceDefinition As String
Dim name As String
Dim value As IGISResource
 
value = instance.CreateResource(resourceDefinition, name)
C# 
public IGISResource CreateResource( 
   string resourceDefinition,
   string name
)

Parameters

resourceDefinition
The definition of the resource to be created.
name
The name of the resource to be created.

Return Value

A GIS Resource with the passed in definition (not currently implemented; throws Exception).

See Also

© 2010 All Rights Reserved.