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


IBuilderItem.AddVariable Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

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 VARIANT_BOOL

Product Availability

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

See Also

IBuilderItem Interface