Snippet: ReadOnlyCollection(Of T) class

property value
IDE Visual Studio
Language VB
Title ReadOnlyCollection(Of T) class
Shortcut c_
Description class derived from ReadOnlyCollection(Of T)
Snippet Types Expansion
Namespaces System.Collections.Generic
System.Collections.ObjectModel

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
modifier Modifier(s) Public yes
name Collection type name Collection yes
type Type Object yes

Code

Public Class Collection
	Inherits ReadOnlyCollection(Of Object)

	Public Sub New(list As IList(Of Object))
		MyBase.New(list)
	End Sub

	
End Class