Application.CompanyName 속성

정의

애플리케이션과 관련된 회사 이름을 가져옵니다.

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

속성 값

String

회사 이름입니다.

예제

다음 코드 예제에서는이 속성을 가져오고 텍스트 상자에 해당 값을 표시 합니다. 이 예제에서는 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

적용 대상

추가 정보