The associated data type of the generic data.
Syntax
'Declaration
<JetBrains.Annotations.CanBeNullAttribute()>
Property DataType As DataType
'Usage
Dim instance As _GenericData
Dim value As DataType
instance.DataType = value
value = instance.DataType
[JetBrains.Annotations.CanBeNull()]
DataType DataType {get; set;}
[JetBrains.Annotations.CanBeNull()]
property DataType^ DataType {
DataType^ get();
void set ( DataType^ value);
}
Property Value
The value of this property can be null
(Nothing
in Visual Basic).
The default value of this property is null
.
Exceptions
Exception | Description |
System.ArgumentException |
One of the arguments provided to a method is not valid.
This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also