Share via


ViewComponentDescriptor.FullName プロパティ

定義

完全な名前を取得または設定します。

public:
 property System::String ^ FullName { System::String ^ get(); void set(System::String ^ value); };
public string FullName { get; set; }
member this.FullName : string with get, set
Public Property FullName As String

プロパティ値

注釈

完全な名前は、既定でビュー コンポーネント クラスの完全な名前空間に設定され、区切り記号として '.' 文字が付いたクラス名の前に付加されます。 ビュー コンポーネント クラスがサフィックスとして を使用 ViewComponent する場合、サフィックスは から FullName省略されます。

クラス名: Contoso.Products.LoginViewComponent ビュー コンポーネント FullName: Contoso.Products.Login
クラス名: Contoso.Blog.Tags ビュー コンポーネント FullName: Contoso.Blog.Tags

を使用して名前を設定する場合 Name 、これは として FullName使用されます。

[ViewComponent(Name = "Contoso.Forum.UsersOnline")] パブリック クラス OnlineUsersViewComponent { } View Component FullName: Contoso.Forum.UsersOnline

適用対象