Noemax FastInfoset.NET
ProvideVocabulary Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > IVocabularyProvider Interface : ProvideVocabulary Method






uri
The URI to resolve.
reader
The reader to which vocabulary will be provided.
Resolves the vocabulary URI and, if found, calls the SetVocabulary method of the specified reader instance.

Syntax

Visual Basic (Declaration) 
Sub ProvideVocabulary( _
   ByVal uri As String, _
   ByVal reader As XmlFastInfosetReader _
) 
Visual Basic (Usage)Copy Code
Dim instance As IVocabularyProvider
Dim uri As String
Dim reader As XmlFastInfosetReader
 
instance.ProvideVocabulary(uri, reader)
C# 
void ProvideVocabulary( 
   string uri,
   XmlFastInfosetReader reader
)
Delphi 
procedure ProvideVocabulary( 
    uri: String;
    reader: XmlFastInfosetReader
); 
JScript 
function ProvideVocabulary( 
   uri : String,
   reader : XmlFastInfosetReader
);
Managed Extensions for C++ 
void ProvideVocabulary( 
   string* uri,
   XmlFastInfosetReader* reader
) 
C++/CLI 
void ProvideVocabulary( 
   String^ uri,
   XmlFastInfosetReader^ reader
) 

Parameters

uri
The URI to resolve.
reader
The reader to which vocabulary will be provided.

Remarks

The XmlFastInfosetReader calls this method when an external vocabulary URI is encountered within a document. The implementation of the IVocabularyProvider must resolve the vocabulary URI and, if found, call the SetVocabulary method of the specified reader instance.

See Also