Application.CompanyName Özellik

Tanım

Uygulamayla ilişkili şirket adını alır.

public:
 static property System::String ^ CompanyName { System::String ^ get(); };
public static string CompanyName { get; }
public static string? CompanyName { get; }
static member CompanyName : string
Public Shared ReadOnly Property CompanyName As String

Özellik Değeri

Şirket adı.

Örnekler

Aşağıdaki kod örneği bu özelliği alır ve değerini bir metin kutusunda görüntüler. Örnek, bir forma yerleştirilmesini gerektirir textBox1 .

private:
   void PrintCompanyName()
   {
      textBox1->Text = String::Format( "The company name is: {0}",
         Application::CompanyName );
   }
private void PrintCompanyName()
{
    textBox1.Text = "The company name is: " + Application.CompanyName;
}
Private Sub PrintCompanyName()
   textBox1.Text = "The company name is: " & _
      Application.CompanyName
End Sub

Şunlara uygulanır

Ayrıca bkz.