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


IXMLSerializeData.AddVariant Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IXMLSerializeData.AddVariant Method

Adds element value as a variant.

[Visual Basic .NET]
Public Sub AddVariant ( _
    ByVal Name As String, _
    ByVal Value As Object _
)
[C#]
public void AddVariant (
    string Name,
    object Value
);
[C++]
HRESULT AddVariant(
  BSTR Name,
  VARIANT Value
);
[C++]

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

Product Availability

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

See Also

IXMLSerializeData Interface