Note

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

Access to this page requires authorization. You can try .

NullabilityInfo Class

Definition

Namespace:
System.Reflection
Assembly:
System.Runtime.dll
Source:
NullabilityInfo.cs
Source:
NullabilityInfo.cs
Source:
NullabilityInfo.cs
Source:
NullabilityInfo.cs
Source:
NullabilityInfo.cs

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.

Represents nullability information.

public ref class NullabilityInfo sealed
public sealed class NullabilityInfo
type NullabilityInfo = class
Public NotInheritable Class NullabilityInfo
Inheritance
NullabilityInfo

Properties

Name Description
ElementType

Gets the nullability information for the element type of the array.

GenericTypeArguments

Gets the nullability information for each type parameter.

ReadState

Gets the nullability read state of the member.

Type

Gets the type of the member or generic parameter to which this instance belongs.

WriteState

Gets the nullability write state of the member.

Methods

Name Description
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to


Feedback

Was this page helpful?