MethodDataCollection Class
Represents the set of methods available in the collection.
Assembly: System.Management (in System.Management.dll)
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of objects in the MethodDataCollection collection. |
![]() | IsSynchronized | Gets a value that indicates whether the object is synchronized. |
![]() | Item[String^] | Gets the specified MethodData from the MethodDataCollection. |
![]() | SyncRoot | Gets the object to be used for synchronization. |
| Name | Description | |
|---|---|---|
![]() | Add(String^) | Adds a MethodData to the MethodDataCollection. This overload will add a new method with no parameters to the collection. |
![]() | Add(String^, ManagementBaseObject^, ManagementBaseObject^) | Adds a MethodData to the MethodDataCollection. This overload will add a new method with the specified parameter objects to the collection. |
![]() | CopyTo(Array^, Int32) | Copies the MethodDataCollection into an array. |
![]() | CopyTo(array<MethodData^>^, Int32) | Copies the MethodDataCollection to a specialized MethodData array. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator for the MethodDataCollection. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Remove(String^) | Removes a MethodData from the MethodDataCollection. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Returns an IEnumerator that iterates through the MethodDataCollection. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The following example lists information about the Win32_Process.Create method using the MethodData class. For more information on the Win32_Process class, see the Windows Management Instrumentation documentation in the MSDN Library at http://msdn.microsoft.com/library.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




