共用方式為


VirtualTypeBuilder.ConstructorInfoCollection.Item Property

Gets or sets the constructor at the specified index.

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

Syntax

'宣告
Public Default Property Item ( _
    index As Integer _
) As ConstructorInfo
public ConstructorInfo this[
    int index
] { get; set; }

Parameters

  • index
    Type: System.Int32
    The 0-based index of the element to get or set.

Property Value

Type: System.Reflection.ConstructorInfo
The ConstructorInfo 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.ConstructorInfoCollection Class

Microsoft.VisualStudio.Shell.Design Namespace