ComputerTargetGroupCollection.Item Property (Int32)
Applies To: Windows Server Update Services
Gets 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 IComputerTargetGroup this[
int index
] { get; set; }
public:
property IComputerTargetGroup^ default[
int index
] {
IComputerTargetGroup^ get(int index);
void set(int index, IComputerTargetGroup^ value);
}
member Item :
index:int -> IComputerTargetGroup with get, set
Public Property Item (
index As Integer
) As IComputerTargetGroup
Parameters
index
Type: System.Int32The zero-based index of the member to get or set.
Property Value
Type: Microsoft.UpdateServices.Administration.IComputerTargetGroup
The IComputerTargetGroup at the specified index.
Exceptions
Exception
Condition
The target group already exists in this collection.
A member of the collection cannot be set to null.
index cannot be either less than zero or greater than or equal to the count of the collection.
Remarks
This property is an indexer in C#.
See Also
ComputerTargetGroupCollection Class
Microsoft.UpdateServices.Administration Namespace
Return to top