Typography.SetAnnotationAlternates(DependencyObject, Int32) 方法

定義

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

public:
 static void SetAnnotationAlternates(System::Windows::DependencyObject ^ element, int value);
public static void SetAnnotationAlternates (System.Windows.DependencyObject element, int value);
static member SetAnnotationAlternates : System.Windows.DependencyObject * int -> unit
Public Shared Sub SetAnnotationAlternates (element As DependencyObject, value As Integer)

參數

element
DependencyObject

要設定 AnnotationAlternates 屬性值的相依性物件。

value
Int32

要設定屬性的目標新值。

例外狀況

elementnull 時引發。

適用於

另請參閱