共用方式為


SendParametersContent.Parameters 屬性

定義

取得或設定工作流程服務作業參數。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Activities::InArgument ^> ^ Parameters { System::Collections::Generic::IDictionary<System::String ^, System::Activities::InArgument ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,System.Activities.InArgument> Parameters { get; }
member this.Parameters : System.Collections.Generic.IDictionary<string, System.Activities.InArgument>
Public ReadOnly Property Parameters As IDictionary(Of String, InArgument)

屬性值

索引鍵-值組的排序集合,其索引鍵包含參數名稱,而其值包含引數。

範例

下列範例會示範如何設定 Parameters 屬性。

new SendReply
{                           
    Request = receiveString,                            
    Content = new SendParametersContent
    {
        Parameters =
        {
            { "echo", new InArgument<string>(echo) }
        },
    }
},

適用於