AssemblyInfo.CompanyName プロパティ

定義

アプリケーションに関連付けられている会社名を取得します。

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

プロパティ値

アプリケーションに関連付けられている会社名を含む String

例外

アセンブリに AssemblyCompanyAttribute 属性がありません。

この例では、 My.Application.Info.CompanyName プロパティを使用して、アプリケーションに関連付けられている会社名を表示します。

MsgBox("Application created by: " & My.Application.Info.CompanyName)

注釈

My.Application.Info.CompanyName プロパティは、アプリケーションに関連付けられている会社名を取得します。

Assembly Information ダイアログ ボックスの Company の値を変更することで、会社名を変更できます。 Project Designer の Application ペインからアクセスできます。

プロジェクトの種類別の可用性

プロジェクト タイプ 在庫有り
Windows フォーム アプリケーション Yes
クラス ライブラリ Yes
コンソール アプリケーション Yes
Windows フォーム コントロール ライブラリ Yes
Web コントロール ライブラリ いいえ
Windows サービス Yes
ウェブサイト いいえ

適用対象

こちらもご覧ください