Typography.GetAnnotationAlternates(DependencyObject) 方法

定義

傳回所指定相依性物件的 AnnotationAlternates 附加屬性值。

public:
 static int GetAnnotationAlternates(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static int GetAnnotationAlternates (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetAnnotationAlternates : System.Windows.DependencyObject -> int
Public Shared Function GetAnnotationAlternates (element As DependencyObject) As Integer

參數

element
DependencyObject

要擷取 AnnotationAlternates 屬性值的相依性物件。

傳回

所指定相依性物件上 FontFamily 附加屬性的目前值。

屬性

例外狀況

elementnull 時引發。

適用於

另請參閱