Partager via


CimMethodParametersCollection Class

 

Represents a collection of parameters of a CIM method.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Management.Infrastructure.Generic.CimReadOnlyKeyedCollection<T>
    Microsoft.Management.Infrastructure.Generic.CimKeyedCollection<T>
      Microsoft.Management.Infrastructure.CimMethodParametersCollection

Syntax

public class CimMethodParametersCollection : CimKeyedCollection<CimMethodParameter>, 
    IDisposable
public ref class CimMethodParametersCollection : CimKeyedCollection<CimMethodParameter^>, 
    IDisposable
type CimMethodParametersCollection = 
    class
        inherit CimKeyedCollection<CimMethodParameter>
        interface IDisposable
    end
Public Class CimMethodParametersCollection
    Inherits CimKeyedCollection(Of CimMethodParameter)
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod CimMethodParametersCollection()

Initializes a new instance of the collection.

Properties

Name Description
System_CAPS_pubproperty Count

The number of parameter objects in the collection.(Overrides CimReadOnlyKeyedCollection<T>.Count.)

System_CAPS_pubproperty Item[String]

Provides access to the parameter objects in the collection.(Overrides CimReadOnlyKeyedCollection<T>.Item[String].)

Methods

Name Description
System_CAPS_pubmethod Add(CimMethodParameter)

Adds a parameter object to the collection.(Overrides CimKeyedCollection<T>.Add(T).)

System_CAPS_pubmethod Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

System_CAPS_protmethod Dispose(Boolean)

Releases resources

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

Returns an enumerator that iterates through the collection.(Overrides CimReadOnlyKeyedCollection<T>.GetEnumerator().)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

Retrieves an enumerator that returns items from the collection.(Inherited from CimReadOnlyKeyedCollection<T>.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Management.Infrastructure Namespace

Return to top