This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IB > IBuilderItem Interface > IBuilderItem.AddVariable Method (ArcObjects .NET 10.4 SDK) |
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