Bewerken

Share via


MemberNotNullAttribute Constructors

Definition

Overloads

MemberNotNullAttribute(String)

Initializes the attribute with a field or property member.

MemberNotNullAttribute(String[])

Initializes the attribute with the list of field and property members.

MemberNotNullAttribute(String)

Source:
NullableAttributes.cs
Source:
NullableAttributes.cs
Source:
NullableAttributes.cs

Initializes the attribute with a field or property member.

public:
 MemberNotNullAttribute(System::String ^ member);
public MemberNotNullAttribute (string member);
new System.Diagnostics.CodeAnalysis.MemberNotNullAttribute : string -> System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
Public Sub New (member As String)

Parameters

member
String

The field or property member that is promised to be non-null.

Applies to

MemberNotNullAttribute(String[])

Source:
NullableAttributes.cs
Source:
NullableAttributes.cs
Source:
NullableAttributes.cs

Initializes the attribute with the list of field and property members.

public:
 MemberNotNullAttribute(... cli::array <System::String ^> ^ members);
public MemberNotNullAttribute (params string[] members);
new System.Diagnostics.CodeAnalysis.MemberNotNullAttribute : string[] -> System.Diagnostics.CodeAnalysis.MemberNotNullAttribute
Public Sub New (ParamArray members As String())

Parameters

members
String[]

The list of field and property members that are promised to be non-null.

Applies to