GlyphTypeface.Copyrights Propriété

Définition

Obtient les informations de copyright pour l'objet GlyphTypeface.

public:
 property System::Collections::Generic::IDictionary<System::Globalization::CultureInfo ^, System::String ^> ^ Copyrights { System::Collections::Generic::IDictionary<System::Globalization::CultureInfo ^, System::String ^> ^ get(); };
public System.Collections.Generic.IDictionary<System.Globalization.CultureInfo,string> Copyrights { [System.Security.SecurityCritical] get; }
public System.Collections.Generic.IDictionary<System.Globalization.CultureInfo,string> Copyrights { get; }
[<get: System.Security.SecurityCritical>]
member this.Copyrights : System.Collections.Generic.IDictionary<System.Globalization.CultureInfo, string>
member this.Copyrights : System.Collections.Generic.IDictionary<System.Globalization.CultureInfo, string>
Public ReadOnly Property Copyrights As IDictionary(Of CultureInfo, String)

Valeur de propriété

IDictionary<CultureInfo,String>

Un objet IDictionary<TKey,TValue> qui contient des paires clé/valeur qui représentent les informations de copyright. La clé est un objet CultureInfo qui identifie la culture. La valeur est une chaîne d'informations de copyright.

Attributs

Exemples

L’exemple suivant montre comment renvoyer la collection d’informations sur le droit d’auteur pour l’objet GlyphTypeface .

// Create a glyph typeface by referencing the Pericles OpenType font.
GlyphTypeface glyphTypeface = new GlyphTypeface(new Uri("file:///C:\\WINDOWS\\Fonts\\Peric.ttf"));

// Retrieve the copyright information for the Pericles OpenType font.
IDictionary<CultureInfo, string> dictionary = glyphTypeface.Copyrights;
foreach (KeyValuePair<CultureInfo, string> kvp in dictionary)
{
    // Retrieve the key/value pair information.
}
' Create a glyph typeface by referencing the Pericles OpenType font.
Dim glyphTypeface As New GlyphTypeface(New Uri("file:///C:\WINDOWS\Fonts\Peric.ttf"))

' Retrieve the copyright information for the Pericles OpenType font.
Dim dictionary As IDictionary(Of CultureInfo, String) = glyphTypeface.Copyrights
For Each kvp As KeyValuePair(Of CultureInfo, String) In dictionary
    ' Retrieve the key/value pair information.
Next kvp

Remarques

La Copyrights propriété est distincte des informations de marque qui sont accessibles par la Trademarks propriété.

S’applique à

Voir aussi