Dela via


ILearningModelFeatureDescriptor.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 = iLearningModelFeatureDescriptor.isRequired;
Public ReadOnly Property IsRequired As Boolean

Property Value

Boolean

bool

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

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