TagHelperDesignTimeDescriptorFactory.CreateAttributeDescriptor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a TagHelperAttributeDesignTimeDescriptor from the given
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
Parameters
- propertyInfo
- PropertyInfo
The PropertyInfo to create a TagHelperAttributeDesignTimeDescriptor from.
Returns
A TagHelperAttributeDesignTimeDescriptor that describes design time specific
information for the given propertyInfo
.