CharacterMetricsDictionary.Contains 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.
Important
This API is not CLS-compliant.
Determines whether the collection contains the specified key/value pair.
public:
virtual bool Contains(System::Collections::Generic::KeyValuePair<int, System::Windows::Media::CharacterMetrics ^> item);
[System.CLSCompliant(false)]
public bool Contains (System.Collections.Generic.KeyValuePair<int,System.Windows.Media.CharacterMetrics> item);
[<System.CLSCompliant(false)>]
abstract member Contains : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> bool
Public Function Contains (item As KeyValuePair(Of Integer, CharacterMetrics)) As Boolean
Parameters
The key/value pair representing the character code and associated CharacterMetrics value.
Returns
true
if the dictionary contains the CharacterMetrics represented by the character code in item
; otherwise, false
.
Implements
- Attributes
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.