Redigera

Dela via


NativeActivityUpdateContext.RemoveBookmark Method

Definition

Removes the specified bookmark.

Overloads

RemoveBookmark(Bookmark)

Removes the specified bookmark from the currently executing NativeActivity instance.

RemoveBookmark(String)

Removes the bookmark with the specified name.

RemoveBookmark(String, BookmarkScope)

Removes the bookmark with the specified name and the specified bookmark scope.

RemoveBookmark(Bookmark)

Removes the specified bookmark from the currently executing NativeActivity instance.

public:
 bool RemoveBookmark(System::Activities::Bookmark ^ bookmark);
public bool RemoveBookmark (System.Activities.Bookmark bookmark);
member this.RemoveBookmark : System.Activities.Bookmark -> bool
Public Function RemoveBookmark (bookmark As Bookmark) As Boolean

Parameters

bookmark
Bookmark

A point at which a NativeActivity instance can passively wait to be resumed.

Returns

true if the specified bookmark from the currently executing NativeActivity instance was removed; otherwise, false.

Applies to

RemoveBookmark(String)

Removes the bookmark with the specified name.

public:
 bool RemoveBookmark(System::String ^ name);
public bool RemoveBookmark (string name);
member this.RemoveBookmark : string -> bool
Public Function RemoveBookmark (name As String) As Boolean

Parameters

name
String

The name of the bookmark.

Returns

true if the bookmark with the specified name was removed; otherwise, false.

Applies to

RemoveBookmark(String, BookmarkScope)

Removes the bookmark with the specified name and the specified bookmark scope.

public:
 bool RemoveBookmark(System::String ^ name, System::Activities::BookmarkScope ^ scope);
public bool RemoveBookmark (string name, System.Activities.BookmarkScope scope);
member this.RemoveBookmark : string * System.Activities.BookmarkScope -> bool
Public Function RemoveBookmark (name As String, scope As BookmarkScope) As Boolean

Parameters

name
String

The name of the bookmark.

scope
BookmarkScope

The unique GUID identifier for a group of Bookmark objects that are categorized as operating under the same protocol.

Returns

true if the bookmark with the specified name and the specified bookmark scope were removed; otherwise, false.

Applies to