TagList.Insert(Int32, KeyValuePair<String,Object>) Method
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.
Inserts an element into the TagList at the specified index.
public:
virtual void Insert(int index, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public void Insert (int index, System.Collections.Generic.KeyValuePair<string,object?> item);
abstract member Insert : int * System.Collections.Generic.KeyValuePair<string, obj> -> unit
override this.Insert : int * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Insert (index As Integer, item As KeyValuePair(Of String, Object))
Parameters
- index
- Int32
The zero-based index at which the item should be inserted.
- item
- KeyValuePair<String,Object>
The tag to insert.
Implements
Exceptions
index
is less than 0 or index
is greater than Count.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET