Indicates if a data type field in a structure is optional.
Syntax
'Declaration
Property IsOptional As Boolean
'Usage
Dim instance As _UAStructureField
Dim value As Boolean
instance.IsOptional = value
value = instance.IsOptional
bool IsOptional {get; set;}
property bool IsOptional {
bool get();
void set ( bool value);
}
Property Value
The default value of this property is False
.
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