PropertyValueCollection.Insert(Int32, 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 a property value into this collection at a specified index.
public:
void Insert(int index, System::Object ^ value);
public void Insert (int index, object? value);
public void Insert (int index, object value);
member this.Insert : int * obj -> unit
Public Sub Insert (index As Integer, value As Object)
Parameters
- index
- Int32
The zero-based index at which to insert the property value.
- value
- Object
The property value to insert.
Exceptions
The property value is a null reference (Nothing
in Visual Basic).
An error occurred during the call to the underlying interface.
The index is less than 0 (zero) or greater than the size of the collection.
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk