MemberNotNullAttribute Constructors
Definition
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
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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.