GlyphTypeface.Copyrights 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 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)
属性值
一个 IDictionary<TKey,TValue> 对象,包含表示版权信息的键/值对。 键是标识区域性的一个 CultureInfo 对象。 该值是一个版权信息字符串。
- 属性
示例
下面的示例演示如何返回对象的版权信息的 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
注解
该 Copyrights 属性独立于属性访问的 Trademarks 商标信息。