TagHelperDesignTimeDescriptorFactory.CreateAttributeDescriptor 方法

定义

TagHelperAttributeDesignTimeDescriptor从给定propertyInfo的 创建 。

public:
 Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperAttributeDesignTimeDescriptor ^ CreateAttributeDescriptor(System::Reflection::PropertyInfo ^ propertyInfo);
public Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperAttributeDesignTimeDescriptor CreateAttributeDescriptor (System.Reflection.PropertyInfo propertyInfo);
member this.CreateAttributeDescriptor : System.Reflection.PropertyInfo -> Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperAttributeDesignTimeDescriptor
Public Function CreateAttributeDescriptor (propertyInfo As PropertyInfo) As TagHelperAttributeDesignTimeDescriptor

参数

返回

一个 , TagHelperAttributeDesignTimeDescriptor 它描述给定 propertyInfo的设计时特定信息。

适用于