ESRI.ArcGIS.ADF.Web.UI.WebControls
AddFunctionalityInstanceToResource Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceManager Class : AddFunctionalityInstanceToResource Method




resource
Resource to add to.
functionalityType
Type of functionality
functionalityName
Name of functionality
Creates functionality instance. Adds it to the resource's Functionalities property. Loads functionality state.

Syntax

Visual Basic (Declaration) 
Public Function AddFunctionalityInstanceToResource( _
   ByVal resource As IGISResource, _
   ByVal functionalityType As Type, _
   ByVal functionalityName As String _
) As IGISFunctionality
Visual Basic (Usage)Copy Code
Dim instance As DataSourceManager
Dim resource As IGISResource
Dim functionalityType As Type
Dim functionalityName As String
Dim value As IGISFunctionality
 
value = instance.AddFunctionalityInstanceToResource(resource, functionalityType, functionalityName)
C# 
public IGISFunctionality AddFunctionalityInstanceToResource( 
   IGISResource resource,
   Type functionalityType,
   string functionalityName
)

Parameters

resource
Resource to add to.
functionalityType
Type of functionality
functionalityName
Name of functionality

Return Value

Created functionality

See Also

© 2010 All Rights Reserved.