Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CommaDelimitedStringCollection::Item Property (Int32)

 

Gets or sets a string element in the collection based on the index.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

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

Parameters

index
Type: System::Int32

The index of the string element in the collection.

Property Value

Type: System::String^

A string element in the collection.

This property allows a string in the collection to be set or retrieved based on its index in the collection. This property also causes the IsModified property to be set to true.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft