Snippet: Public read-only indexer

property value
IDE Visual Studio
Language VB
Title Public read-only indexer
Shortcut rir
Description Public read-only indexer declaration
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_type Indexer type T yes
parameters Parameters ByVal index As Integer yes
value Value value yes

Code

Default Public Property Item(ByVal index As Integer) As T
	Get
		Return value
	End Get
End Property