Edit

Share via


ServiceDescriptionFormatExtensionCollection.Item[Int32] Property

Definition

Gets or sets the value of a member of the ServiceDescriptionFormatExtensionCollection.

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
public object this[int index] { get; set; }
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object

Parameters

index
Int32

The zero-based index of the member whose value is modified or returned.

Property Value

The value of the ServiceDescriptionFormatExtension.

Examples

Console::WriteLine( "Collection contains following types of elements: " );

// Display the 'Type' of the elements in collection.
for ( int i = 0; i < myCollection->Count; i++ )
   Console::WriteLine( myCollection[ i ]->GetType() );
Console.WriteLine("Collection contains following types of elements: ");
// Display the 'Type' of the elements in collection.
for(int i = 0;i< myCollection.Count;i++)
{
   Console.WriteLine(myCollection[i].GetType().ToString());
}
Console.WriteLine("Collection contains following types of elements: ")
' Display the 'Type' of the elements in collection.
Dim i As Integer
For i = 0 To myCollection.Count - 1
   Console.WriteLine(myCollection(i).GetType().ToString())
Next i

Applies to