Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ques abt property from VB to vb.net

Status
Not open for further replies.

purplehaze1

Programmer
Jul 23, 2003
86
US
How to write this in vb.net? Thanks.

Public Property Get Item(vntIndexKey As Variant) As customer
On Error Resume Next
Set Item = mcol(vntIndexKey)
If Err.Number <> 0 Then
Set Item = Nothing
End If
End Property
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top