Item Property
Collapse the table of content
Expand the table of content

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 string this[
	int index
] { get; set; }

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:
© 2016 Microsoft