Interface IGPValue

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members of a GPValue.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("92EE08B6-C757-4178-803C-67CD665AC801")]
public interface IGPValue

Properties

DataType

The data type of the value object.

IGPDataType DataType { get; }

Property Value

IGPDataType

Remarks

The DataType property returns the DataType object associated with this Value object.

Methods

Empty()

Clears the value object.

void Empty()

Remarks

The Empty method clears this Value object and releases any associated objects.

GetAsText()

Provides the value of the value object.

string GetAsText()

Returns

string

Remarks

The GetAsText method returns this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string for the scalar value.

IsEmpty()

Indicates if the value object is empty.

bool IsEmpty()

Returns

bool

Remarks

The IsEmpty method returns if this Value object has been set or not.

SetAsText(string)

Provides the value of the value object with the given string value.

IGPMessage SetAsText(string text)

Parameters

text string

Returns

IGPMessage

Remarks

The SetAsText method sets the value of this Value object as a text string. For DataElement value objects it is the NameString. For simple value objects it is the text string representing the scalar value.