Visual Basic (Declaration) | |
---|---|
Public Default Property Item( _ ByVal index As Integer _ ) As CustomEvent |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CustomEvents Dim index As Integer Dim value As CustomEvent instance.Item(index) = value value = instance.Item(index) |
C# | |
---|---|
public CustomEvent this[ int index ]; {get; set;} |
C++/CLI | |
---|---|
public: property CustomEvent^ default [int] { CustomEvent^ get(int index); void set (int index, CustomEvent^ value); } |
Parameters
- index
- The index.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2