Share via


ViewComponentConventions.GetComponentFullName(TypeInfo) 方法

定义

从第一个 类型 Name 获取组件的全名。 如果未定义,则全名是包含 的 Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions.GetShortNameByConvention(System.Reflection.TypeInfo)命名空间。

public:
 static System::String ^ GetComponentFullName(System::Reflection::TypeInfo ^ componentType);
public static string GetComponentFullName (System.Reflection.TypeInfo componentType);
static member GetComponentFullName : System.Reflection.TypeInfo -> string
Public Shared Function GetComponentFullName (componentType As TypeInfo) As String

参数

componentType
TypeInfo

组件类型。

返回

组件的全名。

适用于