ActivityDesignerHelper.IsItemInSequence 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 sequence.
Namespace: System.Activities.Design
Assembly: System.Activities.Core.Design (in System.Activities.Core.Design.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function IsItemInSequence ( _
item As ModelItem, _
<OutAttribute> ByRef sequence As ModelItem _
) As Boolean
'Usage
Dim item As ModelItem
Dim sequence As ModelItem
Dim returnValue As Boolean
returnValue = item.IsItemInSequence(sequence)
public static bool IsItemInSequence(
this ModelItem item,
out ModelItem sequence
)
[ExtensionAttribute]
public:
static bool IsItemInSequence(
ModelItem^ item,
[OutAttribute] ModelItem^% sequence
)
public static function IsItemInSequence(
item : ModelItem,
sequence : ModelItem
) : boolean
static member IsItemInSequence :
item:ModelItem *
sequence:ModelItem -> bool
Parameters
- item
Type: System.Activities.Design.Model.ModelItem
- sequence
Type: System.Activities.Design.Model.ModelItem%
Return Value
Type: System.Boolean
true if the specified item is in the specified sequence; 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