Share via


WindowsActionAttribute.UsesGenerativeAI Property

Definition

Gets or initializes a Boolean value specifying whether the action uses generative AI. The default value is false.

public:
 property bool UsesGenerativeAI { bool get(); void set(bool value); };
bool UsesGenerativeAI();

void UsesGenerativeAI(bool value);
public bool UsesGenerativeAI { get; init; }
var boolean = windowsActionAttribute.usesGenerativeAI;
windowsActionAttribute.usesGenerativeAI = boolean;
Public Property UsesGenerativeAI As Boolean

Property Value

True if the action uses generative AI; otherwise, false.

Applies to