CommaDelimitedStringCollection.Item[Int32] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a string element in the collection based on the index.
public:
property System::String ^ default[int] { System::String ^ get(int index); void set(int index, System::String ^ value); };
public string this[int index] { get; set; }
member this.Item(int) : string with get, set
Default Public Property Item(index As Integer) As String
Parameters
- index
- Int32
The index of the string element in the collection.
Property Value
A string element in the collection.
Remarks
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
.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET