ModelMemberCollection<TItemType, TFindType>.Item Property (String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the value at the specified index by name.
Namespace: System.Activities.Design.Model
Assembly: System.Activities.Design.Base (in System.Activities.Design.Base.dll)
Syntax
'Declaration
Public ReadOnly Property Item ( _
name As String _
) As TItemType
Get
'Usage
Dim instance As ModelMemberCollection
Dim name As String
Dim value As TItemType
value = instance.Item(name)
public TItemType this[
string name
] { get; }
public:
property TItemType Item[String^ name] {
TItemType get (String^ name);
}
JScript does not support indexed properties.
member Item : 'TItemType
Parameters
- name
Type: System.String
The name of the type to retrieve.
Property Value
Type: TItemType
Exceptions
Exception | Condition |
---|---|
[ArgumentException] | The name is not found. |
[ArgumentNullException] | The name 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
See Also
Reference
ModelMemberCollection<TItemType, TFindType> Class