Freigeben über


VirtualTypeBuilder.FieldInfoCollection.Item Property

Gets or sets the FieldInfo at the specified index.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As FieldInfo
public FieldInfo this[
    int index
] { get; set; }
public:
property FieldInfo^ default[int index] {
    FieldInfo^ get (int index);
    void set (int index, FieldInfo^ value);
}
member Item : 
        index:int -> FieldInfo with get, set
JScript does not support indexed properties.

Parameters

  • index
    Type: Int32

    The 0-based index of the element to get or set.

Property Value

Type: FieldInfo
A FieldInfo at the specified index.

Exceptions

Exception Condition
ArgumentException

index is less than 0.

-or-

index is equal to or greater than Count.

.NET Framework Security

See Also

Reference

VirtualTypeBuilder.FieldInfoCollection Class

Microsoft.VisualStudio.Shell.Design Namespace