Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets or sets the property 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 PropertyInfo
Get
Set
'Usage
Dim instance As VirtualTypeBuilder..::..PropertyInfoCollection
Dim index As Integer
Dim value As PropertyInfo
value = instance(index)
instance(index) = value
public PropertyInfo this[
int index
] { get; set; }
public:
property PropertyInfo^ default[int index] {
PropertyInfo^ get (int index);
void set (int index, PropertyInfo^ value);
}
member Item : PropertyInfo with get, set
JScript does not support indexed properties.
Parameters
- index
Type: System.Int32
The 0-based index of the element to get or set.
Property Value
Type: System.Reflection.PropertyInfo
A PropertyInfo at the specified index.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | index is less than 0. -or- index is equal to or greater than the number of items in the collection. |
.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.
See Also
Reference
VirtualTypeBuilder.PropertyInfoCollection Class