'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function Constant( _ ByVal dataVariable As UADataVariable, _ ByVal valueTypeCode As TypeCode, _ ByVal attributeData As UAAttributeData _ ) As UADataVariable
'Usage
Dim dataVariable As UADataVariable Dim valueTypeCode As TypeCode Dim attributeData As UAAttributeData Dim value As UADataVariable value = UADataVariableExtension.Constant(dataVariable, valueTypeCode, attributeData)
[Extension()] [NotNull()] public static UADataVariable Constant( UADataVariable dataVariable, TypeCode valueTypeCode, UAAttributeData attributeData )
[Extension()] [NotNull()] public: static UADataVariable^ Constant( UADataVariable^ dataVariable, TypeCode valueTypeCode, UAAttributeData^ attributeData )
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).
- attributeData
- The constant attribute data that will be provided by the data variable.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).