Common Task results
Common_TaskResults_VBNet\OnDemandTaskResults\IAttributesOnDemandProvider.vb
' Copyright 2011 ESRI
' 
' All rights reserved under the copyright laws of the United States
' and applicable international laws, treaties, and conventions.
' 
' You may freely redistribute and use this sample code, with or
' without modification, provided you include the original copyright
' notice and use restrictions.
' 
' See the use restrictions.
' 

Imports Microsoft.VisualBasic
Imports System
Namespace OnDemandTaskResults_VBNet
  ''' <summary>
  ''' Allows retrieval of feature data by an OnDemandTaskResults control from the control
  ''' that implements this interface.  Feature data is retrieved when a result's MapTip
  ''' or FeatureNode is expanded.
  ''' </summary>
  Public Interface IAttributesOnDemandProvider
    ''' <summary>
    ''' Used by OnDemandTaskResults to retrieve feature data from the control that created the results
    ''' </summary>
    ''' <param name="featureID">The unique ID of the feature to retrieve</param>
    ''' <returns>A DataRow containing the requested feature data</returns>
    Function GetAttributeData(ByVal featureID As String) As System.Data.DataRow
  End Interface
End Namespace