DeploymentRuleCollection.Item[] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從目前的集合取得指定的專案。
多載
| Item[Int32] |
DeploymentRule從目前集合取得位於指定索引處的 。 |
| Item[String] |
從目前集合取得具有指定名稱的 DeploymentRule。 |
Item[Int32]
DeploymentRule從目前集合取得位於指定索引處的 。
public:
property Microsoft::Web::Deployment::DeploymentRule ^ default[int] { Microsoft::Web::Deployment::DeploymentRule ^ get(int index); };
public Microsoft.Web.Deployment.DeploymentRule this[int index] { get; }
member this.Item(int) : Microsoft.Web.Deployment.DeploymentRule
Default Public ReadOnly Property Item(index As Integer) As DeploymentRule
參數
- index
- Int32
要從目前集合取得之專案的索引。
屬性值
如果在 DeploymentRule 指定的 index 中找到 ,則為 。
適用於
Item[String]
從目前集合取得具有指定名稱的 DeploymentRule。
public:
property Microsoft::Web::Deployment::DeploymentRule ^ default[System::String ^] { Microsoft::Web::Deployment::DeploymentRule ^ get(System::String ^ name); };
public Microsoft.Web.Deployment.DeploymentRule this[string name] { get; }
member this.Item(string) : Microsoft.Web.Deployment.DeploymentRule
Default Public ReadOnly Property Item(name As String) As DeploymentRule
參數
- name
- String
在目前集合中尋找的 DeploymentRule 名稱。
屬性值
DeploymentRule如果存在,則為具有指定名稱的 。