ViewComponentDescriptor.FullName Property

Definition

Gets or sets the full name.

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

Property Value

Remarks

The full name is defaulted to the full namespace of the view component class, prepended to the class name with a '.' character as the separator. If the view component class uses ViewComponent as a suffix, the suffix will be omitted from the FullName.

Class Name: Contoso.Products.LoginViewComponent View Component FullName: Contoso.Products.Login
Class Name: Contoso.Blog.Tags View Component FullName: Contoso.Blog.Tags

If Name is used to set a name, then this will be used as the FullName.

[ViewComponent(Name = "Contoso.Forum.UsersOnline")] public class OnlineUsersViewComponent { } View Component FullName: Contoso.Forum.UsersOnline

Applies to