#Region on VB

  • Thread starter Thread starter Alexander Dong Back Kim
  • Start date Start date
A

Alexander Dong Back Kim

Dear all,

Here is a very beginner's question! (kind of shame though...) Is there
any equivalent way that I can use #region thing of C# in VB?

Cheers,
 
Dear all,
Here is a very beginner's question! (kind of shame though...) Is there
any equivalent way that I can use #region thing of C# in VB?

Sure Region works in Vb in the following way
 
Alexander said:
Dear all,

Here is a very beginner's question! (kind of shame though...) Is there
any equivalent way that I can use #region thing of C# in VB?

Cheers,

Yep!!

#Region " This is the region name "

Private Sub MySubInRegion
MessageBox.Show("I'm in a region!")
End Sub

#End Region

Cheers,

RB.
 
Yep!!

#Region " This is the region name "

Private Sub MySubInRegion
MessageBox.Show("I'm in a region!")
End Sub

#End Region

Cheers,

RB.

Thanks heaps RB and Rory! =)
 
Back
Top