BasePackagingPolicy.AcquireStreamForLinkTargets BasePackagingPolicy.AcquireStreamForLinkTargets BasePackagingPolicy.AcquireStreamForLinkTargets BasePackagingPolicy.AcquireStreamForLinkTargets Method

定義

在衍生類別中覆寫時,取得字串的清單,而每個字串都表示一個 LinkTarget 項目。When overridden in a derived class, gets a list of strings, each expressing a LinkTarget element.

public:
 abstract System::Collections::Generic::IList<System::String ^> ^ AcquireStreamForLinkTargets();
public abstract System.Collections.Generic.IList<string> AcquireStreamForLinkTargets ();
abstract member AcquireStreamForLinkTargets : unit -> System.Collections.Generic.IList<string>
Public MustOverride Function AcquireStreamForLinkTargets () As IList(Of String)

傳回

IList<T> 物件的 String,這些物件表示頁面的可連結目標。An IList<T> of String objects that represent the linkable targets for a page.

備註

使用清單來撰寫LinkTarget可插入的項目PageContent.LinkTargets對應頁面的項目。Use the list to compose LinkTarget elements that can be inserted into the PageContent.LinkTargets element for the corresponding page. 包裝在標記的清單中的每個字串,方法是使用下列格式:Wrap each string in the list in markup by using the following form:

<LinkTarget Name=\" 目標名稱 \" />,其中目標名稱是字串。<LinkTarget Name=\" target name \" />, where target name is the string.

如需詳細資訊<PageContent.LinkTargets>LinkTarget項目,請參閱中的第 3 章XML 文件規格 (XPS)XML Paper Specification (XPS)規格,您可以在取得XPS:規格和授權下載For more information about the <PageContent.LinkTargets> and LinkTarget elements, see chapter 3 in the XML 文件規格 (XPS)XML Paper Specification (XPS) specification, which you can obtain at XPS: Specification and License Downloads.

適用於

另請參閱