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 initial context item.
Public propertyContextPositionContextPositionContextPosition Gets or sets the context position.
Public propertyContextSizeContextSizeContextSize Gets or sets the context size.
Public propertyCurrentDateTimeCurrentDateTimeCurrentDateTime Gets or sets the current date and time.
Public propertyDefaultCalendarDefaultCalendarDefaultCalendar Gets or sets the default calendar.
Public propertyDefaultCollectionURIDefaultCollectionURIDefaultCollectionURI Gets or sets the default collection URI.
Public propertyDefaultLanguageDefaultLanguageDefaultLanguage Gets or sets the default language.
Public propertyDefaultPlaceDefaultPlaceDefaultPlace Gets or sets the default place.
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.

Top

Methods

 MethodDescription
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.ToStringObject.ToStringObject::ToStringReturns a string that represents the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)

Top

Events

 EventDescription
Public eventExecutionExecutionExecution Occurs when profiling is enabled.
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.