UpdateApprovalCollection.Item Property (Int32)
Applies To: Windows Server Update Services
Retrieves or sets the member of the collection at the specified index.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public IUpdateApproval this[
int index
] { get; set; }
public:
property IUpdateApproval^ default[
int index
] {
IUpdateApproval^ get(int index);
void set(int index, IUpdateApproval^ value);
}
member Item :
index:int -> IUpdateApproval with get, set
Public Property Item (
index As Integer
) As IUpdateApproval
Parameters
index
Type: System.Int32Zero-based index of the member to retrieve or set.
Property Value
Type: Microsoft.UpdateServices.Administration.IUpdateApproval
The member of the collection at the specified index.
Exceptions
Exception
Condition
The update approval already exists in this collection.
A member of the collection cannot be set to null.
index cannot be less than zero or greater than UpdateApprovalCollection.Count.
Remarks
This property is an indexer in C#.
See Also
UpdateApprovalCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top