语言

AppTaskInfo.GetCompletedSteps 方法

定义

获取为此任务完成的步骤序列。

public:
 virtual Platform::Array <Platform::String ^> ^ GetCompletedSteps() = GetCompletedSteps;
/// [Windows.Foundation.Metadata.Experimental]
winrt::array_view <winrt::hstring const&> GetCompletedSteps();
[Windows.Foundation.Metadata.Experimental]
public string[] GetCompletedSteps();
function getCompletedSteps()
Public Function GetCompletedSteps () As String()

返回

String[]

Platform::String[]

winrt::hstring[]

表示已完成步骤的字符串数组。

属性

注解

此方法在更新使用 AppTaskContent.CreateSequenceOfSteps 创建的任务时非常有用。 使用返回的步骤和 GetExecutingStep 创建更新的内容。

适用于