編輯

共用方式為


XsltSettings.EnableDocumentFunction Property

Definition

Gets or sets a value indicating whether to enable support for the XSLT document() function.

public:
 property bool EnableDocumentFunction { bool get(); void set(bool value); };
public bool EnableDocumentFunction { get; set; }
member this.EnableDocumentFunction : bool with get, set
Public Property EnableDocumentFunction As Boolean

Property Value

true to support the XSLT document() function; otherwise, false. The default is false.

Remarks

Important

If you enable the document() function, you can restrict the resources that can be accessed by passing an XmlSecureResolver object to the Transform method.

Applies to

See also