MetaAccessor.HasValue(Object) Method
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.
Specifies whether the instance has a loaded or assigned value.
public:
virtual bool HasValue(System::Object ^ instance);
public virtual bool HasValue (object instance);
abstract member HasValue : obj -> bool
override this.HasValue : obj -> bool
Public Overridable Function HasValue (instance As Object) As Boolean
Parameters
- instance
- Object
The instance being looked at.
Returns
true
if the instance currently has a loaded or assigned value; otherwise, false
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.