ValidatedNotNullAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示对方法验证特定参数的代码分析。
public ref class ValidatedNotNullAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)]
public sealed class ValidatedNotNullAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)>]
type ValidatedNotNullAttribute = class
inherit Attribute
Public NotInheritable Class ValidatedNotNullAttribute
Inherits Attribute
- 继承
-
ValidatedNotNullAttribute
- 属性
构造函数
| ValidatedNotNullAttribute() |
初始化 ValidatedNotNullAttribute 类的新实例。 |