Share via


GlyphTypeface.Copyrights Proprietà

Definizione

Ottiene le informazioni sul copyright per l'oggetto 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)

Valore della proprietà

Oggetto IDictionary<TKey,TValue> contenente coppie chiave/valore che rappresentano le informazioni sul copyright. La chiave è un oggetto CultureInfo che identifica le impostazioni cultura. Il valore è una stringa di informazioni sul copyright.

Attributi

Esempio

Nell'esempio seguente viene illustrato come restituire la raccolta di informazioni sul copyright per l'oggetto 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

Commenti

La Copyrights proprietà è separata dalle informazioni sul marchio che accedono alla Trademarks proprietà.

Si applica a

Vedi anche