GXDN: Gurux Developer Network
GXMediaTypeCollection Class
NamespacesGurux.DeviceGXMediaTypeCollection
The GXMediaTypeCollection collection component implements the GXMediaTypeCollection interface. GXMediaTypeCollection is the collection of media components installed on the current system.
Members
All Members Constructors Methods Properties



Icon Member Description
GXMediaTypeCollection()()()
Initializes a new instance of the GXMediaTypeCollection class

CopyTo(Array, Int32)
Copies the elements of the collection to an Array, starting at a particular Array index.

Count
Indicates the number of items in the collection.

Dispose(Boolean)
Dispose()()()
Equals(Object)
Determines whether two objects are equal.
(Overrides Object.Equals(Object).)
Finalize()()() (Overrides Object.Finalize()()().)
FindByType(MediaType)
Finds a GXMediaType by type.

GetEnumerator()()()
Returns an enumerator that iterates through a collection.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetOcx()()()
Retrieves a reference to the underlying ActiveX control.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsEmpty()()()
Checks if the collection is empty.

IsReadOnly
Checks if the collection is read-only.

IsSynchronized
Checks if the collection is synchronized (thread safe).

Item[([(Int32])])
Item[([(Object])])
Retrieves an item from the collection, using numeric index.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
SyncRoot
Gets an object that can be used to synchronize the collection.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Examples
CopyC#
Foreach (MediaType in GXDeviceList1.MediaTypes)
    MsgBox MediaType.Name
Next
Inheritance Hierarchy
Object
GXMediaTypeCollection
See Also

Assembly: Gurux.Device (Module: Gurux.Device) Version: 5.0.0.1