共用方式為


CimKeyedCollection<T>.Add Method (T)

 

Adds an item to the collection.

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

Syntax

public abstract void Add(
    T newItem
)
public:
virtual void Add(
    T newItem
) abstract
abstract Add : 
        newItem:'T -> unit
Public MustOverride Sub Add (
    newItem As T
)

Parameters

  • newItem
    Type: T

    The item to add.

See Also

CimKeyedCollection<T> Class
Microsoft.Management.Infrastructure.Generic Namespace

Return to top