DeploymentObjectAttributeCollection.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 DeploymentObjectAttribute from current collection.
Overloads
Item[Int32] |
Gets the DeploymentObjectAttribute at the specified index from current collection. |
Item[String] |
Gets the DeploymentObjectAttribute with the specified name from current collection. |
Item[Int32]
Gets the DeploymentObjectAttribute at the specified index from current collection.
public:
property Microsoft::Web::Deployment::DeploymentObjectAttribute ^ default[int] { Microsoft::Web::Deployment::DeploymentObjectAttribute ^ get(int index); };
public Microsoft.Web.Deployment.DeploymentObjectAttribute this[int index] { get; }
member this.Item(int) : Microsoft.Web.Deployment.DeploymentObjectAttribute
Default Public ReadOnly Property Item(index As Integer) As DeploymentObjectAttribute
Parameters
- index
- Int32
The zero-based index of the attribute to get from the current collection.
Property Value
A DeploymentObjectAttribute instance found at the specified index
.
Exceptions
index
is not a valid index in the collection.
Applies to
Item[String]
Gets the DeploymentObjectAttribute with the specified name from current collection.
public:
property Microsoft::Web::Deployment::DeploymentObjectAttribute ^ default[System::String ^] { Microsoft::Web::Deployment::DeploymentObjectAttribute ^ get(System::String ^ attributeName); };
public Microsoft.Web.Deployment.DeploymentObjectAttribute this[string attributeName] { get; }
member this.Item(string) : Microsoft.Web.Deployment.DeploymentObjectAttribute
Default Public ReadOnly Property Item(attributeName As String) As DeploymentObjectAttribute
Parameters
- attributeName
- String
The name of the attribute to get from the current collection.
Property Value
A DeploymentObjectAttribute instance with the specified name
.
Exceptions
name
is null
reference (Nothing
in Visual Basic)
The name
does not exist in the collection.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for