UtilitiesIsOptional Method |
Checks if a property is marked as optional using the [Optional] attribute.
Namespace:
SolidFire.Core
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public bool IsOptional(
PropertyInfo prop
)
Parameters
- prop
- Type: System.ReflectionPropertyInfo
The PropertyInfo to check
Return Value
Type:
BooleanTrue if optional attribute is present
See Also