ActivityDesignerHelper.IsItemInFlowchart Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Verifies whether a specified item is in the specified flowchart.
Namespace: System.Activities.Design
Assembly: System.Activities.Core.Design (in System.Activities.Core.Design.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function IsItemInFlowchart ( _
item As ModelItem, _
<OutAttribute> ByRef flowchart As ModelItem, _
<OutAttribute> ByRef flowStep As ModelItem _
) As Boolean
'Usage
Dim item As ModelItem
Dim flowchart As ModelItem
Dim flowStep As ModelItem
Dim returnValue As Boolean
returnValue = item.IsItemInFlowchart(flowchart, _
flowStep)
public static bool IsItemInFlowchart(
this ModelItem item,
out ModelItem flowchart,
out ModelItem flowStep
)
[ExtensionAttribute]
public:
static bool IsItemInFlowchart(
ModelItem^ item,
[OutAttribute] ModelItem^% flowchart,
[OutAttribute] ModelItem^% flowStep
)
public static function IsItemInFlowchart(
item : ModelItem,
flowchart : ModelItem,
flowStep : ModelItem
) : boolean
static member IsItemInFlowchart :
item:ModelItem *
flowchart:ModelItem *
flowStep:ModelItem -> bool
Parameters
- item
Type: System.Activities.Design.Model.ModelItem
- flowchart
Type: System.Activities.Design.Model.ModelItem%
- flowStep
Type: System.Activities.Design.Model.ModelItem%
Return Value
Type: System.Boolean
true if the specified item is in the specified flowchart; otherwise, false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ModelItem. 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).
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | item is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4