Visual Basic (Declaration) | |
---|---|
Public Overrides ReadOnly Default Property Item( _ ByVal index As Integer _ ) As ServiceInstance |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ServiceInstanceCollection Dim index As Integer Dim value As ServiceInstance value = instance.Item(index) |
C# | |
---|---|
public override ServiceInstance this[ int index ]; {get;} |
C++/CLI | |
---|---|
public: property ServiceInstance^ default [int] override { ServiceInstance^ get(int index) override; } |
Parameters
- 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