次の方法で共有


IFsrmMutableCollection Interface

 

Used to manage a collection of FSRM objects that can have objects added to or removed from the collection.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

[GuidAttribute("1BB617B8-3886-49DC-AF82-A6C90FA35DDA")]
public interface IFsrmMutableCollection : IFsrmCollection
[GuidAttribute("1BB617B8-3886-49DC-AF82-A6C90FA35DDA")]
public interface class IFsrmMutableCollection : IFsrmCollection
[<GuidAttribute("1BB617B8-3886-49DC-AF82-A6C90FA35DDA")>]
type IFsrmMutableCollection = 
    interface
        interface IFsrmCollection
    end
<GuidAttribute("1BB617B8-3886-49DC-AF82-A6C90FA35DDA")>
Public Interface IFsrmMutableCollection
    Inherits IFsrmCollection

Properties

Name Description
System_CAPS_pubproperty Count

Gets the Count property.

System_CAPS_pubproperty Item[Int32]

Returns the item with the specified index.

System_CAPS_pubproperty State

Gets the State property.

Methods

Name Description
System_CAPS_pubmethod Add(Object)

Adds an object to the collection.

System_CAPS_pubmethod Cancel()

Cancels the collection of objects when the objects are collected asynchronously.

System_CAPS_pubmethod Clone()

Creates a duplicate IFsrmMutableCollection collection.

System_CAPS_pubmethod GetById(Guid)

Retrieves the specified object from the mutable collection.

System_CAPS_pubmethod GetEnumerator()

Retrieves an enumerator that allows iteration through the collection of FSRM objects.

System_CAPS_pubmethod Remove(Int32)

Removes the specified object from the collection using an index value.

System_CAPS_pubmethod RemoveById(Guid)

Removes the specified object from the collection using an object identifier.

System_CAPS_pubmethod WaitForCompletion(Int32)

Limits the time that an asynchronous collection can take to collect the objects.

See Also

Microsoft.Storage Namespace

Return to top