FromUriAttribute 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
一个 属性,指定值可以从查询字符串或路由数据绑定。
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public class FromUriAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IOptionalBinderMetadata[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type FromUriAttribute = class
    inherit Attribute
    interface IOptionalBinderMetadata
    interface IBindingSourceMetadata
    interface IModelNameProviderPublic Class FromUriAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider, IOptionalBinderMetadata- 继承
- 
				FromUriAttribute
- 属性
- 实现
构造函数
| FromUriAttribute() | 初始化 FromUriAttribute 类的新实例。 | 
属性
| BindingSource | 获取 BindingSource。 | 
| IsOptional | 获取一个值,该值指示参数是否参与 ASP.NET Web API操作重载。 如果  | 
| Name | 模型名称。 |