This document is archived and information here might be outdated. Recommended version. |
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
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.