//  Please use the following namespace
//  using System.Windows.Forms;
//  using GrapeCity.Win.Editors;
public void GetPostalBarCodeValueSample()
{
    // Creates instance of GcAddress component.
    GcAddress gcAddress1 = new GcAddress();
    // Get the JP Postal BarCode value with full address.
    System.Console.WriteLine(gcAddress1.GetPostalBarCodeValue("岩手県 紫波郡矢巾町 大字煙山 第3地割14番地2"));
    // Output:
    // "02836233-14-2"
    // Get the JP Postal BarCode value with partial address + ZipCode.
    System.Console.WriteLine(gcAddress1.GetPostalBarCodeValue("泉区 紫山 3-1-4", "9813205"));
    // Output:
    // "98132053-1-4"
}
	 
	
		'  Please use the following namespace
'  using System.Windows.Forms;
'  using GrapeCity.Win.Editors;
Public Sub GetPostalBarCodeValueSample()
    ' Creates instance of GcAddress component.
    Dim gcAddress1 As New GcAddress()
    ' Get the JP Postal BarCode value with full address.
    System.Console.WriteLine(gcAddress1.GetPostalBarCodeValue("岩手県 紫波郡矢巾町 大字煙山 第3地割14番地2"))
    ' Output:
    ' "02836233-14-2"
    ' Get the JP Postal BarCode value with partial address + ZipCode.
    System.Console.WriteLine(gcAddress1.GetPostalBarCodeValue("泉区 紫山 3-1-4", "9813205"))
    ' Output:
    ' "98132053-1-4"
End Sub