BuildProviderCollection.RemoveAt(Int32) Method
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.
Removes the BuildProvider object at the specified index from the BuildProviderCollection.
public:
void RemoveAt(int index);
public void RemoveAt(int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
- index
- Int32
An integer value specifying the location of a specific BuildProvider object within the BuildProviderCollection.
The following code example demonstrates how to use the RemoveAt method. This code example is part of a larger example provided for the BuildProviderCollection class.
// Remove an BuildProvider.
configSection.BuildProviders.RemoveAt(
configSection.BuildProviders.Count - 1);
' Remove an BuildProvider.
configSection.BuildProviders.RemoveAt( _
configSection.BuildProviders.Count - 1)
If the index does not specify a BuildProvider in the collection, an out-of-range exception is thrown.
Производ | Верзије |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: