Share via


FromUriAttribute 클래스

정의

값을 쿼리 문자열 또는 경로 데이터에서 바인딩할 수 있도록 지정하는 특성입니다.

[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 IModelNameProvider
Public Class FromUriAttribute
Inherits Attribute
Implements IBindingSourceMetadata, IModelNameProvider, IOptionalBinderMetadata
상속
FromUriAttribute
특성
구현

생성자

FromUriAttribute()

FromUriAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

BindingSource

BindingSource를 가져옵니다.

IsOptional

매개 변수가 ASP.NET Web API 작업 오버로드에 참여하는지 여부를 나타내는 값을 가져옵니다. 이면 true매개 변수가 오버로드에 참여하지 않습니다. 그렇지 않으면 수행합니다.

Name

모델 이름입니다.

적용 대상