共用方式為


WriteProgressCommand.Activity Property

Definition

Describes the activity for which progress is being reported.

public:
 property System::String ^ Activity { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Activity { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Activity { get; set; }
[System.Management.Automation.Parameter(HelpMessageBaseName="WriteProgressResourceStrings", HelpMessageResourceId="ActivityParameterHelpMessage", Mandatory=true, Position=0)]
public string Activity { get; set; }
[System.Management.Automation.Parameter(HelpMessageBaseName="WriteProgressResourceStrings", HelpMessageResourceId="ActivityParameterHelpMessage", Position=0)]
public string Activity { get; set; }
member this.Activity : string with get, set
[<System.Management.Automation.Parameter(HelpMessageBaseName="WriteProgressResourceStrings", HelpMessageResourceId="ActivityParameterHelpMessage", Mandatory=true, Position=0)>]
member this.Activity : string with get, set
[<System.Management.Automation.Parameter(HelpMessageBaseName="WriteProgressResourceStrings", HelpMessageResourceId="ActivityParameterHelpMessage", Position=0)>]
member this.Activity : string with get, set
Public Property Activity As String

Property Value

Attributes

Applies to