語言

InlineCollection.Add 方法

定義

為集合新增一個 Run 元素。

多載

名稱 Description
Add(String)

在給定文本中加入一個隱含 Run 元素, String以 .

Add(UIElement)

它會隱含一個包含已包含的 Primit InlineUIContainerUIElement

Add(String)

在給定文本中加入一個隱含 Run 元素, String以 .

public:
 void Add(System::String ^ text);
public void Add(string text);
override this.Add : string -> unit
Public Sub Add (text As String)

參數

text
String

文本設定為 Text 隱含 Run的屬性。

適用於

Add(UIElement)

它會隱含一個包含已包含的 Primit InlineUIContainerUIElement

public:
 void Add(System::Windows::UIElement ^ uiElement);
public void Add(System.Windows.UIElement uiElement);
override this.Add : System.Windows.UIElement -> unit
Public Sub Add (uiElement As UIElement)

參數

uiElement
UIElement

UIElement 設定為 Child 隱含 InlineUIContainer的屬性。

適用於