'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function ConstantValue( _ ByVal dataVariable As UADataVariable, _ ByVal valueTypeCode As TypeCode, _ ByVal value As Object _ ) As UADataVariable
'Usage
Dim dataVariable As UADataVariable Dim valueTypeCode As TypeCode Dim value As Object Dim value As UADataVariable value = UADataVariableExtension.ConstantValue(dataVariable, valueTypeCode, value)
[Extension()] [NotNull()] public static UADataVariable ConstantValue( UADataVariable dataVariable, TypeCode valueTypeCode, object value )
[Extension()] [NotNull()] public: static UADataVariable^ ConstantValue( UADataVariable^ dataVariable, TypeCode valueTypeCode, 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). - valueTypeCode
- The type of the data variable, expressed as .NET type code (System.TypeCode).
- 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).