'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ConstantValue( _ ByVal dataVariable As UADataVariable, _ ByVal valueType As Type, _ ByVal value As Object _ ) As UADataVariable
'Usage
Dim dataVariable As UADataVariable Dim valueType As Type Dim value As Object Dim value As UADataVariable value = UADataVariableExtension.ConstantValue(dataVariable, valueType, value)
[Extension()] [NotNull()] public static UADataVariable ConstantValue( UADataVariable dataVariable, Type valueType, object value )
[Extension()] [NotNull()] public: static UADataVariable^ ConstantValue( UADataVariable^ dataVariable, Type^ valueType, Object^ value )
Parameters
- dataVariable
- The data variable that will be modified and returned.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - valueType
- The type of the data variable, expressed as .NET System.Type.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - value
- The constant value that will be provided by the data variable.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).