CharacterMetricsDictionary.Add 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.
Adds a character code and associated CharacterMetrics value to the collection.
Overloads
Add(KeyValuePair<Int32,CharacterMetrics>) |
Adds a character code and associated CharacterMetrics value to the collection using a key/value pair. |
Add(Int32, CharacterMetrics) |
Adds a character code and associated CharacterMetrics value to the collection. |
Add(KeyValuePair<Int32,CharacterMetrics>)
Important
This API is not CLS-compliant.
Adds a character code and associated CharacterMetrics value to the collection using a key/value pair.
public:
virtual void Add(System::Collections::Generic::KeyValuePair<int, System::Windows::Media::CharacterMetrics ^> item);
[System.CLSCompliant(false)]
public void Add (System.Collections.Generic.KeyValuePair<int,System.Windows.Media.CharacterMetrics> item);
[<System.CLSCompliant(false)>]
abstract member Add : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<int, System.Windows.Media.CharacterMetrics> -> unit
Public Sub Add (item As KeyValuePair(Of Integer, CharacterMetrics))
Parameters
The key/value pair representing the character code and associated CharacterMetrics value.
Implements
- Attributes
Applies to
Add(Int32, CharacterMetrics)
Adds a character code and associated CharacterMetrics value to the collection.
public:
virtual void Add(int key, System::Windows::Media::CharacterMetrics ^ value);
public void Add (int key, System.Windows.Media.CharacterMetrics value);
abstract member Add : int * System.Windows.Media.CharacterMetrics -> unit
override this.Add : int * System.Windows.Media.CharacterMetrics -> unit
Public Sub Add (key As Integer, value As CharacterMetrics)
Parameters
- value
- CharacterMetrics
A value of type CharacterMetrics.
Implements
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για