This document is archived and information here might be outdated.  Recommended version.


ITerrainBlobWriter.AddValue Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainBlobWriter.AddValue Method

Adds an attribute value to the blob.

[Visual Basic .NET]
Public Sub AddValue ( _
    ByVal Value As Object _
)
[C#]
public void AddValue (
    object Value
);
[C++]
HRESULT AddValue(
  VARIANT Value
);
[C++]

Parameters Value [in] Value is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Ideally, the variable type used for assignment should match the BLOB type (see ITerrainBlobWriter.BeginAddingValue) to ensure the value is properly maintained. Since this is not always possible (e.g., VB does not support 'char'), for flexibility the value is cast so you are not forced to use the same types. If the types don't match the value may get mangled if it's outide the BLOB type's range.

See Also

ITerrainBlobWriter Interface