Share via


DdmArrayProperty.Remove Method (String)

 

Removes the first occurrence of a specific object from the ICollection<T>.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages.Server
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public bool Remove(
    string item
)
public:
virtual bool Remove(
    String^ item
) sealed
Public Function Remove (
    item As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Implements

ICollection<T>.Remove(T)

Exceptions

Exception Condition
NotSupportedException

The ICollection<T> is read-only.

See Also

DdmArrayProperty Class
Microsoft.ConfigurationManagement.Messaging.Messages.Server Namespace

Return to top