InlineCollection.Add 方法

定義

Run 項目加入至集合。

多載

Add(String)

加入隱含的 Run 以及當做 String 提供的指定文字。

Add(UIElement)

加入隱含 InlineUIContainer 以及已在其中提供的 UIElement

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

設定為隱含 TextRun 屬性的文字。

適用於

Add(UIElement)

加入隱含 InlineUIContainer 以及已在其中提供的 UIElement

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

設定為隱含 UIElementChild 項目的 InlineUIContainer

適用於