Bagikan melalui


ApiConventionTypeMatchAttribute Kelas

Definisi

Menentukan perilaku pencocokan parameter konvensi API berdasarkan jenis. ApiConventionTypeMatchBehavior untuk opsi yang didukung. .

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
Warisan
ApiConventionTypeMatchAttribute
Atribut

Keterangan

AssignableFrom digunakan jika tidak ada nilai untuk atribut ini yang ditentukan pada parameter konvensi.

Konstruktor

ApiConventionTypeMatchAttribute(ApiConventionTypeMatchBehavior)

Menginisialisasi instans ApiConventionTypeMatchAttribute baru dengan yang ditentukan matchBehavior.

Properti

MatchBehavior

ApiConventionTypeMatchBehaviorMendapatkan .

Berlaku untuk