|
Namespace Profile
Public Class Questions
Inherits System.Collections.CollectionBase
Public Sub Add(ByVal value As Question)
MyBase.List.Add(value)
End Sub
Default Public ReadOnly Property Item(ByVal Index As Integer) As Question
Get
Return CType(MyBase.List.Item(Index), Question)
End Get
End Property
Default Public ReadOnly Property Item(ByVal Identifier As String) As Question
Get
For Each _Item As Question In Me
If String.Compare(_Item.Identifier.ToString, Identifier, True) = 0 Then
Return _Item
End If
Next
Return Nothing
End Get
End Property
End Class
End Namespace
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Larry Steinle is a systems analyst for HDR, Inc, a nationally recognized architecture, engineering, and consulting firm. He graduated with a certificate in Biblical Studies, an Associate in Computer Programming, and a Bachelor Degree in Management Information Systems.