다음을 통해 공유


MapVariableDescriptorPreview.IsRequired 속성

정의

더 이상 사용되지 않습니다. true이면 LearningModelSession을 평가하기 전에 이 기능에 값을 바인딩해야 합니다.

public:
 property bool IsRequired { bool get(); };
bool IsRequired();
/// [get: Windows.Foundation.Metadata.Deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
bool IsRequired();
public bool IsRequired { get; }
public bool IsRequired { [Windows.Foundation.Metadata.Deprecated("Use ILearningModelFeatureDescriptor instead of ILearningModelVariableDescriptorPreview. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")] get; }
var boolean = mapVariableDescriptorPreview.isRequired;
Public ReadOnly Property IsRequired As Boolean

속성 값

Boolean

bool

True이면 LearningModelSession.Evaluate를 호출하기 전에 이 기능에 값을 바인딩해야 합니다. 그렇지 않으면 false입니다.

구현

특성

설명

경고

더 이상 사용되지 않는 API입니다. 대신 Windows.AI.MachineLearning 네임스페이스를 사용하세요.

적용 대상