Share via


PropertyViewer.PropertyItemCollection.Remove Method

Removes the first occurrence of a specific object from the control.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Function Remove ( _
    item As PropertyViewer..::..PropertyItem _
) As Boolean
'Usage
Dim instance As PropertyViewer..::..PropertyItemCollection
Dim item As PropertyViewer..::..PropertyItem
Dim returnValue As Boolean

returnValue = instance.Remove(item)
public bool Remove(
    PropertyViewer..::..PropertyItem item
)
public:
virtual bool Remove(
    PropertyViewer..::..PropertyItem^ item
) sealed
abstract Remove : 
        item:PropertyViewer..::..PropertyItem -> bool 
override Remove : 
        item:PropertyViewer..::..PropertyItem -> bool 
public final function Remove(
    item : PropertyViewer..::..PropertyItem
) : boolean

Parameters

Return Value

Type: System.Boolean
true if item is successfully removed; otherwise, false. This method also returns false if item was not found.

Implements

ICollection<T>.Remove(T)