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.