ManagementBaseObject Members

Contains the basic elements of a management object. It serves as a base class to more specific management object classes.

The following tables list the members exposed by the ManagementBaseObject type.

  Name Description
Protected method ManagementBaseObject Initializes a new instance of the ManagementBaseObject class that is serializable.

(see also Protected Properties )
  Name Description
Public property ClassPath Gets the path to the management object's class.
Public property Container  Gets the IContainer that contains the Component.(inherited from Component)
Public property Item Gets access to property values through [] notation. This property is the indexer for the ManagementBaseObject class. You can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.
Public property Properties Gets a collection of PropertyData objects describing the properties of the management object.
Public property Qualifiers Gets the collection of QualifierData objects defined on the management object. Each element in the collection holds information such as the qualifier name, value, and flavor.
Public property Site  Gets or sets the ISite of the Component.(inherited from Component)
Public property SystemProperties Gets the collection of WMI system properties of the management object (for example, the class name, server, and namespace). WMI system property names begin with "__".

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(inherited from Component)
Protected property Events  Gets the list of event handlers that are attached to this Component.(inherited from Component)

(see also Protected Methods )
  Name Description
Public method Clone Returns a copy of the object.
Public method CompareTo Compares this object to another, based on specified options.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Dispose Overloaded.  
Public method Equals Overloaded. Overridden.  
Public method GetHashCode Overridden. Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetPropertyQualifierValue Returns the value of the specified property qualifier.
Public method GetPropertyValue Gets an equivalent accessor to a property's value.
Public method GetQualifierValue Gets the value of the specified qualifier.
Public method GetText Returns a textual representation of the object in the specified format.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static op_Explicit Provides the internal WMI object represented by a ManagementObject.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetPropertyQualifierValue Sets the value of the specified property qualifier.
Public method SetPropertyValue Sets the value of the named property.
Public method SetQualifierValue Sets the value of the named qualifier.
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component)

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetObjectData Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance.
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)

  Name Description
Public event Disposed  Occurs when the component is disposed by a call to the Dispose method. (inherited from Component)

Community Additions