IRPDefGenerator.SetProperty

Applies To: Custom RPDef Generator

This function is currently not invoked by Image Service Editor but exists in the interface so that RPDef Generators implement a function that allows applications to modify recognized object properties by name.

[VB.NET]

Function SetProperty(ByVal name As StringByVal value As StringAs Boolean

Implements ESRI.ImageServer.RPDefGenerator.IRPDefGenerator.SetProperty

[C/C++]

Boolean SetProperty(String* name, String* value);

Arguments

[in] name

A string containing the name of the property which the application wishes to modify.

[in] value

A string containing the new value of the property.

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 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 a detailed example, please see the \Developer Kit\Raster Types\Samples.