The OptionalInt type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | OptionalInt()()()() |
Default constructor that creates and empty ![]() OptionalInt |
![]() | OptionalInt(Int32) |
Constructor specifying an ![]() int |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (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 | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Empty |
Accessor that gets whether this ![]() OptionalInt |
![]() | IntValue |
Accessor that gets the ![]() int ![]() OptionalInt |