Click or drag to resize

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
C#
public bool IsOptional(
	PropertyInfo prop
)

Parameters

prop
Type: System.ReflectionPropertyInfo
The PropertyInfo to check

Return Value

Type: Boolean
True if optional attribute is present
See Also