Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MemberNotNullAttribute Constructors

Definition

Namespace:
System.Diagnostics.CodeAnalysis
Assembly:
System.Runtime.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
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
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
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


Feedback

Was this page helpful?