ApiConventionTypeMatchAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按类型确定 API 约定参数的匹配行为。 ApiConventionTypeMatchBehavior ,用于支持的选项。 .
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
- 继承
-
ApiConventionTypeMatchAttribute
- 属性
注解
AssignableFrom 如果在约定参数上未指定此属性的值,则使用 。
构造函数
ApiConventionTypeMatchAttribute(ApiConventionTypeMatchBehavior) |
使用指定的 |
属性
MatchBehavior |