ISkillFeature.SetFeatureValueAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| SetFeatureValueAsync(Object) |
Sets a value to this feature. |
| SetFeatureValueAsync(Object, ISkillFeatureDescriptor) |
Sets a value to this feature that follows a particular descriptor. |
SetFeatureValueAsync(Object)
Sets a value to this feature.
public:
Windows::Foundation::IAsyncAction ^ SetFeatureValueAsync(System::Object ^ value);
[Windows.Foundation.Metadata.Overload("SetFeatureValueAsync")]
public Windows.Foundation.IAsyncAction SetFeatureValueAsync (object value);
abstract member SetFeatureValueAsync : obj -> Windows.Foundation.IAsyncAction
Public Function SetFeatureValueAsync (value As Object) As IAsyncAction
Parameters
- value
- Object
The value to be set onto this feature.
Returns
- Windows.Foundation.IAsyncAction
The asynchronous action for completing this operation.
- Attributes
-
Windows.Foundation.Metadata.OverloadAttribute
Remarks
value has to be of one of the concrete value type used to create an ISkillFeatureValue derivative from the ISkillFeatureDescriptor associated with this instance. See the following methods for creating an ISkillFeatureValue:
- ISkillFeatureDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)
- SkillFeatureTensorDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)
- SkillFeatureImageDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)
- SkillFeatureMapDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)
Applies to
SetFeatureValueAsync(Object, ISkillFeatureDescriptor)
Sets a value to this feature that follows a particular descriptor.
public:
Windows::Foundation::IAsyncAction ^ SetFeatureValueAsync(System::Object ^ value, Microsoft::AI::Skills::SkillInterfacePreview::ISkillFeatureDescriptor ^ descriptor);
[Windows.Foundation.Metadata.Overload("SetFeatureValueAsync2")]
public Windows.Foundation.IAsyncAction SetFeatureValueAsync (object value, Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureDescriptor descriptor);
abstract member SetFeatureValueAsync : obj * Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureDescriptor -> Windows.Foundation.IAsyncAction
Public Function SetFeatureValueAsync (value As Object, descriptor As ISkillFeatureDescriptor) As IAsyncAction
Parameters
- value
- Object
The value to be set onto this feature.
- descriptor
- ISkillFeatureDescriptor
The descriptor of this feature.
Returns
- Windows.Foundation.IAsyncAction
The asynchronous action for completing this operation.
- Attributes
-
Windows.Foundation.Metadata.OverloadAttribute
Remarks
value has to be of one of the concrete value type used to create an ISkillFeatureValue derivative from the ISkillFeatureDescriptor associated with this instance. See the following methods for creating an ISkillFeatureValue:
- ISkillFeatureDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)
- SkillFeatureTensorDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)
- SkillFeatureImageDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)
- SkillFeatureMapDescriptor.CreateValueAsync(Object, ISkillExecutionDevice)