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")] public class OnlineUsersViewComponent { } View Component FullName: Contoso.Forum.UsersOnline

적용 대상