Define a document for source.
[Visual Basic] Public Function DefineDocument( _ ByVal url As String, _ ByVal language As Guid, _ ByVal languageVendor As Guid, _ ByVal documentType As Guid _ ) As ISymbolDocumentWriter [C#] public ISymbolDocumentWriter DefineDocument( string url, Guid language, Guid languageVendor, Guid documentType ); [C++] public: ISymbolDocumentWriter* DefineDocument( String* url, Guid language, Guid languageVendor, Guid documentType ); [JScript] public function DefineDocument( url : String, language : Guid, languageVendor : Guid, documentType : Guid ) : ISymbolDocumentWriter;
An ISymbolDocumentWriter object representing the defined document.
Exception Type | Condition |
---|---|
ArgumentNullException | if url is a null reference (in Visual Basic Nothing) |
InvalidOperationException | if this method is called on a dynamic module that is not a debug module. |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace