'Declaration <ExtensionAttribute()> Public Shared Sub Add( _
ByVal imageCollectionThe image collection.As ImageCollection, _
ByVal imageThe System.Drawing.Image 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 Add(
ImageCollection imageCollection,
System.Drawing.Image image,
bool disposeImageAfterUse
)
[Extension()] public: static void Add(
ImageCollection* imageCollection,
System.Drawing.Image* image,
bool disposeImageAfterUse
)
[Extension()] public:
static void Add(
ImageCollection^ imageCollection,
System.Drawing.Image^ image,
bool disposeImageAfterUse
)
Parameters
- imageCollection
- The image collection.
- image
- The System.Drawing.Image to be added to the collection.
- disposeImageAfterUse
- A value indicating whether image must be disposed when this collection is disposed.