'Declaration <ExtensionAttribute()> Public Shared Sub Insert( _
ByVal imageCollectionThe image collection.As ImageCollection, _
ByVal indexThe zero-based index at which the new elements should be inserted.As System.Int32, _
ByVal imageThe System.Drawing.Image object to be added to the collection.As System.Drawing.Image, _
ByVal disposeImageAfterUseA value indicating whether image must be disposed when this collection is disposed.As Boolean _
)
[Extension()] public static void Insert(
ImageCollection imageCollection,
System.Int32 index,
System.Drawing.Image image,
bool disposeImageAfterUse
)
[Extension()] public: static void Insert(
ImageCollection* imageCollection,
System.Int32 index,
System.Drawing.Image* image,
bool disposeImageAfterUse
)
[Extension()] public:
static void Insert(
ImageCollection^ imageCollection,
System.Int32 index,
System.Drawing.Image^ image,
bool disposeImageAfterUse
)
Parameters
- imageCollection
- The image collection.
- index
- The zero-based index at which the new elements should be inserted.
- image
- The System.Drawing.Image object to be added to the collection.
- disposeImageAfterUse
- A value indicating whether image must be disposed when this collection is disposed.