title: KeyValuePair Is Nothing
body: <p>How can we verify (.NET 2) if a <code>KeyValuePair</code> has a value assigned or not?</p>
  
  <pre><code>Dim pair as KeyValuePair(Of A, B) = Nothing
  
  if pair.??? Then Return
  </code></pre>
  
  <p>As is it a structure, it <strong>can't</strong> be verified with <code>pair Is Nothing</code>. </p>
  
  <p><strong>Point</strong> structure, by eg. has a <strong><code>p.IsEmpty</code></strong> verification.</p>