PropertyModel 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| PropertyModel(PropertyModel) | 从给定 PropertyModel创建 的新PropertyModel实例。 | 
| PropertyModel(PropertyInfo, IReadOnlyList<Object>) | 创建 PropertyModel 的新实例。 | 
PropertyModel(PropertyModel)
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
从给定 PropertyModel创建 的新PropertyModel实例。
public:
 PropertyModel(Microsoft::AspNetCore::Mvc::ApplicationModels::PropertyModel ^ other);public PropertyModel(Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel other);new Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel : Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModelPublic Sub New (other As PropertyModel)参数
- other
- PropertyModel
PropertyModel需要复制的 。
适用于
PropertyModel(PropertyInfo, IReadOnlyList<Object>)
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
- Source:
- PropertyModel.cs
创建 PropertyModel 的新实例。
public:
 PropertyModel(System::Reflection::PropertyInfo ^ propertyInfo, System::Collections::Generic::IReadOnlyList<System::Object ^> ^ attributes);public PropertyModel(System.Reflection.PropertyInfo propertyInfo, System.Collections.Generic.IReadOnlyList<object> attributes);new Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModel : System.Reflection.PropertyInfo * System.Collections.Generic.IReadOnlyList<obj> -> Microsoft.AspNetCore.Mvc.ApplicationModels.PropertyModelPublic Sub New (propertyInfo As PropertyInfo, attributes As IReadOnlyList(Of Object))参数
- propertyInfo
- PropertyInfo
PropertyInfo基础属性的 。
- attributes
- IReadOnlyList<Object>
在 属性上批注的任何属性。