Chili.Opf3 Send comments on this topic.
HasValue Property
See Also 
Chili.Opf3 Namespace > Generic ID Class : HasValue Property




Gets whether the ID has a value set.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property HasValue As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ID(Of T)
Dim value As Boolean
 
value = instance.HasValue
C# 
public bool HasValue {get;}
Managed Extensions for C++ 
public: __property bool get_HasValue();
C++/CLI 
public:
property bool HasValue {
   bool get();
}

Return Value

Returns true if the ID has a value.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also