Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether all the items from the collection are removed.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Sub Clear ( _
stopTracking As Boolean _
)
'Usage
Dim instance As DataServiceCollection
Dim stopTracking As Boolean
instance.Clear(stopTracking)
public void Clear(
bool stopTracking
)
public:
void Clear(
bool stopTracking
)
member Clear :
stopTracking:bool -> unit
public function Clear(
stopTracking : boolean
)
Parameters
- stopTracking
Type: System.Boolean
true if all the items from the collection are removed; otherwise, false.
Remarks
When an item is detached, all related objects in the data graph are also detached from the DataServiceContext.