Snippet: ReadOnlyCollection(Of T) variable

property value
IDE Visual Studio
Language VB
Title ReadOnlyCollection(Of T) variable
Shortcut vn
Description ReadOnlyCollection(Of T) variable declaration
Snippet Types Expansion
Namespaces System.Collections.ObjectModel

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_arguments Arguments args yes
_identifier Identifier name x yes
typeParameter T yes

Code

Dim x = New ReadOnlyCollection(Of T)(args)