// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void QueryAddressByCompanyName()
{
// Creates instance of GcAddress component.
GcAddress gcAddress1 = new GcAddress();
// Query company address contains specified kanji name.
System.Console.WriteLine(gcAddress1.GetCompanyAddressByName("東北電力"));
// Get all company address that contains specified kanji name within specified prefecture.
System.Console.WriteLine(gcAddress1.GetCompanyAddressByName("宮城県", "東北電力"));
// Get the company address by name, with Address Kana queried.
System.Console.WriteLine(gcAddress1.GetCompanyAddressByName("宮城県", "東北電力", true));
}
' Please use the following namespace
' using System.Windows.Forms;
' using GrapeCity.Win.Editors;
Public Sub QueryAddressByCompanyName()
' Creates instance of GcAddress component.
Dim gcAddress1 As New GcAddress()
' Query company address contains specified kanji name.
System.Console.WriteLine(gcAddress1.GetCompanyAddressByName("東北電力"))
' Get all company address that contains specified kanji name within specified prefecture.
System.Console.WriteLine(gcAddress1.GetCompanyAddressByName("宮城県", "東北電力"))
' Get the company address by name, with Address Kana queried.
System.Console.WriteLine(gcAddress1.GetCompanyAddressByName("宮城県", "東北電力", True))
End Sub