SpatialQuerySOE.Interfaces_VBNet\Interfaces.vb
' Copyright 2010 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 Imports System.Collections.Generic Imports System.Text Imports System.Runtime.InteropServices Namespace SpatialQuerySOE.Interfaces_VBNet ''' <summary> ''' Allows execution of Spatial Query SOE's logic ''' </summary> <Guid("20433F77-8AB9-45b0-B858-C3144EC50347")> _ Public Interface IExtension ''' <summary> ''' Queries the SOE's layer and field at the specified point and distance ''' </summary> ''' <param name="point">the point at which to center the query circle</param> ''' <param name="distance">the radius of the query circle</param> ''' <returns>An IResults object containing the features intersecting the query circle and the values in the SOE field</returns> Function QueryPoint(ByVal point As ESRI.ArcGIS.Geometry.IPoint, ByVal distance As Double) As IResults End Interface ''' <summary> ''' Container for the results returned by the Spatial Query SOE ''' </summary> <Guid("D4086DEF-564B-4442-94EE-C4DB0C90402A")> _ Public Interface IResults ''' <summary> ''' Graphics representing the geometries of the features intersecting the query area ''' </summary> Property ResultsGraphics() As ESRI.ArcGIS.Carto.IGraphicElements ''' <summary> ''' The area per field value for features within the search area for the field specified ''' in the SOE configuration ''' </summary> Property SummaryStatistics() As ESRI.ArcGIS.Geodatabase.IRecordSet End Interface End Namespace