StaticContextSettings.DocumentTypeResolver PropertyStaticContextSettings.DocumentTypeResolver PropertyStaticContextSettings::DocumentTypeResolver Property

Sets the resolver used to compute the type of calls to the fn:doc function.

Syntax

Public Property DocumentTypeResolver As IDocumentTypeResolver
        Get
        Set(ByVal value As IDocumentTypeResolver)
public IDocumentTypeResolver DocumentTypeResolver { get; set; }
public:
property IDocumentTypeResolver^ DocumentTypeResolver {
    IDocumentTypeResolver^ get();
    void set(IDocumentTypeResolver^ value);
}
 

Remarks

If this property is set to null a null reference (Nothing in Visual Basic) nullptr then the type of each call to the fn:doc function is document-node() (or document-node()? if TypeCheckingModeTypeCheckingModeTypeCheckingMode is set to PedanticPedanticPedantic).

By default this is set to null a null reference (Nothing in Visual Basic) nullptr.