Bagikan melalui


ApiConventionNameMatchAttribute Kelas

Definisi

Menentukan perilaku pencocokan metode atau parameter konvensi API berdasarkan nama. ApiConventionNameMatchBehavior untuk opsi yang didukung. .

public ref class ApiConventionNameMatchAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)]
public sealed class ApiConventionNameMatchAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)>]
type ApiConventionNameMatchAttribute = class
    inherit Attribute
Public NotInheritable Class ApiConventionNameMatchAttribute
Inherits Attribute
Warisan
ApiConventionNameMatchAttribute
Atribut

Keterangan

Exact digunakan jika tidak ada nilai untuk atribut ini yang ditentukan pada metode atau parameter konvensi.

Konstruktor

ApiConventionNameMatchAttribute(ApiConventionNameMatchBehavior)

Menginisialisasi instans ApiConventionNameMatchAttributebaru .

Properti

MatchBehavior

ApiConventionNameMatchBehaviorMendapatkan .

Berlaku untuk