Share via


ModelMemberCollection<TItemType, TFindType>.Find Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Searches the collection for the given key and returns it if it is found. If the key is not found, this method returns nulla null reference (Nothing in Visual Basic).

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public Function Find ( _
    name As String _
) As TItemType
'Usage
Dim instance As ModelMemberCollection
Dim name As String
Dim returnValue As TItemType

returnValue = instance.Find(name)
public TItemType Find(
    string name
)
public:
TItemType Find(
    String^ name
)
public function Find(
    name : String
) : TItemType
member Find : 
        name:string -> 'TItemType 

Parameters

Return Value

Type: TItemType
Returns [{0}] .

Exceptions

Exception Condition
ArgumentNullException

Throws if name is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

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

See Also

Reference

ModelMemberCollection<TItemType, TFindType> Class

ModelMemberCollection<TItemType, TFindType> Members

Find Overload

System.Activities.Design.Model Namespace