| Visual Basic (Declaration) | |
|---|---|
Sub ProvideVocabulary( _ ByVal uri As String, _ ByVal reader As XmlFastInfosetReader _ ) | |
| Visual Basic (Usage) | |
|---|---|
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.
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.