DeploymentSyncParameterCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified DeploymentSyncParameter from the current collection.
Overloads
Item[Int32] |
Gets the DeploymentSyncParameter at the specified index. |
Item[String] |
Gets the DeploymentSyncParameter with the specified name. |
Item[Int32]
Gets the DeploymentSyncParameter at the specified index.
public:
property Microsoft::Web::Deployment::DeploymentSyncParameter ^ default[int] { Microsoft::Web::Deployment::DeploymentSyncParameter ^ get(int index); };
public Microsoft.Web.Deployment.DeploymentSyncParameter this[int index] { get; }
member this.Item(int) : Microsoft.Web.Deployment.DeploymentSyncParameter
Default Public ReadOnly Property Item(index As Integer) As DeploymentSyncParameter
Parameters
- index
- Int32
The zero-based index of the element to get.
Property Value
The element at the specified index.
Exceptions
index
is not a valid index in the collection.
Applies to
Item[String]
Gets the DeploymentSyncParameter with the specified name.
public:
property Microsoft::Web::Deployment::DeploymentSyncParameter ^ default[System::String ^] { Microsoft::Web::Deployment::DeploymentSyncParameter ^ get(System::String ^ name); };
public Microsoft.Web.Deployment.DeploymentSyncParameter this[string name] { get; }
member this.Item(string) : Microsoft.Web.Deployment.DeploymentSyncParameter
Default Public ReadOnly Property Item(name As String) As DeploymentSyncParameter
Parameters
- name
- String
The name of the parameter to get.
Property Value
The value associated with the specified key. If the specified key is not found, a get operation throws a KeyNotFoundException.
Exceptions
name
is null
reference (Nothing
in Visual Basic)
The name
does not exist in the collection.