ServiceDescriptionFormatExtensionCollection::Item Property (Int32)

 

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

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
property Object^ default[
	int index
] {
	Object^ get(int index);
	void set(int index, Object^ value);
}

Parameters

index
Type: System::Int32

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

Property Value

Type: System::Object^

The value of the ServiceDescriptionFormatExtension.

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() );

.NET Framework
Available since 1.1
Return to top
Show: