[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets or sets the element at the specified index.

Namespace:  Microsoft.ConfigurationManagement.Messaging.Messages.Server
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
string 
this[
	
int 
index
] { 
get; 
set; }
Public 
Default 
Property 
Item ( _
	
index 
As 
Integer _
) 
As 
String
	
Get
	
Set
public:
virtual 
property 
String^ 
default[
int 
index] {
	
String^ 
get (
int 
index) 
sealed;
	
void 
set (
int 
index, 
String^ 
value) 
sealed;
}

Parameters

index
Int32
The zero-based index of the element to get or set.

Return Value

The element at the specified index.

Implements

IList < (Of < ( <' T > ) > ) > . . :: . . Item [ ( [ ( Int32 ] ) ] )

Exceptions

Exception Condition
System . . :: . . ArgumentOutOfRangeException indexis not a valid index in the IList < (Of < ( <' T > ) > ) > .
System . . :: . . NotSupportedException The property is set and the IList < (Of < ( <' T > ) > ) > is read-only.

See Also