Bewerken

Share via


BasePackagingPolicy.AcquireStreamForLinkTargets Method

Definition

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)

Returns

An IList<T> of String objects that represent the linkable targets for a page.

Remarks

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=\" target name \" />, where target name is the string.

For more information about the <PageContent.LinkTargets> and LinkTarget elements, see chapter 3 in the XML Paper Specification (XPS) specification, which you can obtain at XPS: Specification and License Downloads.

Applies to

See also