ImageFeatureDescriptor.IsRequired Property

Definition

If true, you must bind a value to this feature before calling LearningModelSession.Evaluate.

public:
 property bool IsRequired { bool get(); };
bool IsRequired();
public bool IsRequired { get; }
var boolean = imageFeatureDescriptor.isRequired;
Public ReadOnly Property IsRequired As Boolean

Property Value

Boolean

bool

True if you must bind a value to this feature before calling LearningModelSession.Evaluate, otherwise false.

Implements

Remarks

Windows Server

To use this API on Windows Server, you must use Windows Server 2019 with Desktop Experience.

Thread safety

This API is thread-safe.

Applies to