Method HasValue HasValue<T>() Determine if the value of type T exists. Declaration public bool HasValue<T>() where T : class Returns Type Description bool true if value is found, false otherwise. Type Parameters Name Description T The value type.