SequenceVariableDescriptorPreview.IsRequired Свойство

Определение

Не рекомендуется. Возвращает значение, указывающее, является ли переменная последовательности обязательной.

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

Значение свойства

Boolean

bool

Является ли переменная последовательности обязательной.

Реализации

Атрибуты

Комментарии

Предупреждение

Это нерекомендуемый API. Вместо этого используйте пространство имен Windows.AI.MachineLearning .

Применяется к