Share via


ApiConventionTypeMatchAttribute Sınıf

Tanım

Api kuralı parametresinin türe göre eşleşen davranışını belirler. ApiConventionTypeMatchBehavior seçeneğine tıklayın. .

public ref class ApiConventionTypeMatchAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)]
public sealed class ApiConventionTypeMatchAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)>]
type ApiConventionTypeMatchAttribute = class
    inherit Attribute
Public NotInheritable Class ApiConventionTypeMatchAttribute
Inherits Attribute
Devralma
ApiConventionTypeMatchAttribute
Öznitelikler

Açıklamalar

AssignableFrom bir kural parametresinde bu özniteliğin değeri belirtilmezse kullanılır.

Oluşturucular

ApiConventionTypeMatchAttribute(ApiConventionTypeMatchBehavior)

Belirtilen matchBehaviorile yeni bir örneğini ApiConventionTypeMatchAttribute başlatır.

Özellikler

MatchBehavior

ApiConventionTypeMatchBehavior öğesini alır.

Şunlara uygulanır