ValidatedNotNullAttribute 类

定义

指示对方法验证特定参数的代码分析。

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 类的新实例。

适用于