DynamicContextSettings ClassDynamicContextSettings ClassDynamicContextSettings Class

Represents the user-controllable dynamic context settings of an XPath expression, an XQuery program or an XSL transformation.

Inheritance Hierarchy

Syntax

Public NotInheritable Class DynamicContextSettings
public sealed class DynamicContextSettings
public:
ref class DynamicContextSettings sealed
 
The DynamicContextSettingsDynamicContextSettingsDynamicContextSettings type exposes the following members.

Constructors

 ConstructorDescription
Public methodDynamicContextSettings ()DynamicContextSettings ()DynamicContextSettings () Initializes a new instance of the DynamicContextSettingsDynamicContextSettingsDynamicContextSettings class.
Public methodDynamicContextSettings (DynamicContextSettings)DynamicContextSettings (DynamicContextSettings)DynamicContextSettings (DynamicContextSettings^) Initializes a new instance of the DynamicContextSettingsDynamicContextSettingsDynamicContextSettings class from another DynamicContextSettingsDynamicContextSettingsDynamicContextSettings instance.

Top

Properties

 PropertyDescription
Public propertyAvailableEnvironmentVariablesAvailableEnvironmentVariablesAvailableEnvironmentVariables Gets or sets the available environment variables.
Public propertyBaseOutputURIBaseOutputURIBaseOutputURI Gets or sets the base output URI.
Public propertyContextItemContextItemContextItem Gets or sets the context item.
Public propertyCurrentDateTimeCurrentDateTimeCurrentDateTime Gets or sets the current date and time.
Public propertyDefaultCollectionURIDefaultCollectionURIDefaultCollectionURI Gets or sets the default collection URI.
Public propertyDocumentSetDocumentSetDocumentSet Gets or sets the cache of documents and collections.
Public propertyImplicitTimeZoneImplicitTimeZoneImplicitTimeZone Gets or sets the time zone to be used when a xs:date, xs:time, or xs:dateTime value that does not have a time zone is used in a comparison or arithmetic operation.
Public propertyParametersParametersParameters Gets the collection of parameters for the XQuery program, XPath expression or XSL transformation.
Public propertyUsePrivateNameTableUsePrivateNameTableUsePrivateNameTable Gets or sets a value indicating whether a private name table should be used.

Top

Methods

 MethodDescription
Public methodObject.EqualsObject.EqualsObject::Equals Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCode Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.ToStringObject.ToStringObject::ToString Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)

Top

Events

 EventDescription
Public eventMessageMessageMessage Occurs when an xsl:message instruction is executed in an XSL transformation.
Public eventTraceTraceTrace Occurs when fn:trace is evaluated by an XQuery program, XPath expression or XSL transformation.

Top

Remarks

For security reasons, the loading of external resources is disabled. This means that the fn:doc, fn:document, fn:collection and fn:unparsed-text functions will always raise an error, and fn:doc-available and fn:unparsed-text-available will always return false().

To enable the loading of external resources, set the DocumentSetDocumentSetDocumentSet property.