IRPDefGenerator.ShowAddDataDialog

Applies To: Custom RPDef Generator

Shows the Add Data Dialog.

This method is invoked by Image Service Editor after the user double-clicks.

[VB.NET]

Function ShowAddDataDialog() As Integer

Implements ESRI.ImageServer.RPDefGenerator.IRPDefGenerator.ShowAddDataDialog

[C/C++]

int ShowAddDataDialog();

Return Value

Integer indicating the status of the method invocation:

Constant

Description

-1

Error showing dialog

0

Function executed successfully

1

Warning (non-critical error) occurred while showing the add data dialog

Requirements

Platform

32 bit Windows OS (WinXP)

Environment

.NET Framework, COM

Dependency

ESRI.ImageServer.RPDefGenerator.dll

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