Common Task results
Common_TaskResults_CSharp\OnDemandTaskResults\IAttributesOnDemandProvider.cs
// 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.
// 

namespace OnDemandTaskResults_CSharp
{
    /// <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>
        System.Data.DataRow GetAttributeData(string featureID);
    }
}