SkillFeatureImageDescriptor Class

Definition

Describes a SkillFeatureImageValue.

public ref class SkillFeatureImageDescriptor sealed : Microsoft::AI::Skills::SkillInterfacePreview::ISkillFeatureImageDescriptor
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureImageDescriptorFactory), 65536, "Microsoft.AI.Skills.SkillInterfacePreview.SkillsAPIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.AI.Skills.SkillInterfacePreview.SkillsAPIContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureImageDescriptorStatics), 65536, "Microsoft.AI.Skills.SkillInterfacePreview.SkillsAPIContract")]
public sealed class SkillFeatureImageDescriptor : Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureImageDescriptor
type SkillFeatureImageDescriptor = class
    interface ISkillFeatureImageDescriptor
    interface ISkillFeatureDescriptor
Public NotInheritable Class SkillFeatureImageDescriptor
Implements ISkillFeatureImageDescriptor
Inheritance
SkillFeatureImageDescriptor
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.ActivatableAttribute Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.StaticAttribute
Implements

Constructors

SkillFeatureImageDescriptor(String, String, Boolean, Int32, Int32, Int32, BitmapPixelFormat, BitmapAlphaMode)

SkillFeatureImageDescriptor constructor.

Properties

Description

The skill variable's description.

FeatureKind

The SkillFeatureKind of this skill feature.

Height

The required image height (in pixels).

IsRequired

Whether or not this feature is required to be bound in an ISkillBinding to proceed to evaluation with the related ISkill.

MaxDimension

The maximum image width or height allowed (in pixels).

Name

The skill variable's name.

SupportedBitmapAlphaMode

The required image BitmapAlphaMode.

SupportedBitmapPixelFormat

The required image BitmapPixelFormat.

Width

The required image width (in pixels).

Methods

CreateValueAsync(Object, ISkillExecutionDevice)

Creates an ISkillFeatureValue of SkillFeatureKind.Image according to the format specified.

Applies to