IRPDefGenerator.FindItemsToAdd

Applies To: Custom RPDef Generator

Image Service Editor invokes this member function after successfully showing the Add Data and Process Parameters dialog. This function is expected to find source items that match the criteria specified in the Add Data and Process Parameters. After a successful execution of this function, the application proceeds with obtaining the matching items via a call to the IRPDefGenerator.GetItemsToAdd property.

[VB.NET]

Function FindItemsToAdd() As Boolean

Implements ESRI.ImageServer.RPDefGenerator.IRPDefGenerator.FindItemsToAdd

[C/C++]

Boolean FindItemsToAdd();

Return Value

Boolean indicating the status of the method invocation:

Constant

Description

True

The RPDef Generator Factory object interprets this as a successful operation.

False

The RPDef Generator Factory object interprets this return value as a failure and invokes the IRPDefGenerator.GetStatus() method for more information on what went wrong.

Requirements

Platform

32 bit Windows OS (WinXP)

Environment

.NET Framework, COM

Dependency

ESRI.ImageServer.RPDefGenerator.dll

For an detailed example, please see the \Developer Kit\Raster Types\Samples.