OperationParameterInfoCollection.Item[] 属性

定义

获取或设置指定索引或键处的元素。Gets or sets the element at the specified index or key.

重载

Item[Int32]

获取或设置指定索引处的元素。Gets or sets the element at the specified index. 在 C# 中,此属性是 OperationParameterInfoCollection 类的索引器。In C#, this property is the indexer for the OperationParameterInfoCollection class.

Item[String]

获取或设置具有指定键的元素。Gets or sets the element with the specified key.

Item[Int32]

获取或设置指定索引处的元素。Gets or sets the element at the specified index. 在 C# 中,此属性是 OperationParameterInfoCollection 类的索引器。In C#, this property is the indexer for the OperationParameterInfoCollection class.

public:
 property System::Workflow::Activities::OperationParameterInfo ^ default[int] { System::Workflow::Activities::OperationParameterInfo ^ get(int index); void set(int index, System::Workflow::Activities::OperationParameterInfo ^ value); };
public System.Workflow.Activities.OperationParameterInfo this[int index] { get; set; }
member this.Item(int) : System.Workflow.Activities.OperationParameterInfo with get, set
Default Public Property Item(index As Integer) As OperationParameterInfo

参数

index
Int32

所请求元素的数组索引。The array index of the requested element.

属性值

OperationParameterInfo

一个 OperationParameterInfo 对象,表示位于指定索引处的元素。An OperationParameterInfo object representing the element at the specified index.

实现

适用于

Item[String]

获取或设置具有指定键的元素。Gets or sets the element with the specified key.

public:
 property System::Workflow::Activities::OperationParameterInfo ^ default[System::String ^] { System::Workflow::Activities::OperationParameterInfo ^ get(System::String ^ key); };
public System.Workflow.Activities.OperationParameterInfo this[string key] { get; }
member this.Item(string) : System.Workflow.Activities.OperationParameterInfo
Default Public ReadOnly Property Item(key As String) As OperationParameterInfo

参数

key
String

所请求元素的键值。The key value of the requested element.

属性值

OperationParameterInfo

一个 OperationParameterInfo 对象,表示具有指定键的元素。An OperationParameterInfo object representing the element with the specified key.

适用于