Read data from BlockStyler

I have created a block styler in NX, with Vb.net code generated.
I got these thing in code generated.
Private Shared theSession As Session
Private Shared theUI As UI
Private theDlxFileName As String
Private theDialog As NXOpen.BlockStyler.BlockDialog
Private group0 As NXOpen.BlockStyler.Group' Block type: Group
Private string0 As NXOpen.BlockStyler.StringBlock' Block type: String

now i need to read the "string" entered in UI , and print that string using NXmessegeBox, when Apply button is pressed.

Public Function apply_cb() As Integer
Dim errorCode as Integer = 0
Try
/*Please come with code*/
Catch ex As Exception

'---- Enter your exception handling code here -----
errorCode = 1
theUI.NXMessageBox.Show("Block Styler", NXMessageBox.DialogType.Error, ex.ToString)
End Try

how to fetch data from String block styler, please come with syntax.
I couldn't even trigger a listing window using Apply_cb(). Some one suggest.
thanks.

i want create drawingsheet