ContainsBookmark Method (WorkflowApplication, String)

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Extension method which determines if the bookmark collection contains a bookmark with the bookmark name

Namespace: Microsoft.Activities.Extensions
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)

Syntax

C#
public static bool ContainsBookmark(
	this WorkflowApplication workflowApplication,
	string bookmarkName
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function ContainsBookmark ( _
	workflowApplication As WorkflowApplication, _
	bookmarkName As String _
) As Boolean
Visual C++
public:
[ExtensionAttribute]
static bool ContainsBookmark(
	WorkflowApplication^ workflowApplication, 
	String^ bookmarkName
)

Parameters

workflowApplication
Type: System.Activities..::..WorkflowApplication
The workflow application.
bookmarkName
Type: System..::..String
The bookmark name.

Return Value

true if there is a bookmark with bookmarkName

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WorkflowApplication. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also