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


IBuilderItem.AddVariable Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IB > IBuilderItem Interface > IBuilderItem.AddVariable Method
ArcGIS Developer Help

IBuilderItem.AddVariable Method

Adds a variable to this item's collection given the variable name, value, and a flag that indicates whether the item URI's tag is prefixed with the variable name and separated by a period.

[Visual Basic .NET]
Public Sub AddVariable ( _
    ByVal VariableName As String, _
    ByVal vtVariableValue As Object, _
    ByVal bPrefixWithTag As Boolean _
)
[C#]
public void AddVariable (
    string VariableName,
    object vtVariableValue,
    bool bPrefixWithTag
);
[C++]
HRESULT AddVariable(
  BSTR VariableName,
  VARIANT vtVariableValue,
  VARIANT_BOOL bPrefixWithTag
);
[C++]
Parameters
VariableName [in]

VariableName is a parameter of type BSTR vtVariableValue [in]
vtVariableValue is a parameter of type VARIANT bPrefixWithTag [in]
bPrefixWithTag is a parameter of type bool

Product Availability

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

See Also

IBuilderItem Interface