ModuleBuilder.DefineDocumentCore(String, Guid) Method

Definition

When override in a derived class, defines a document for source.

C#
protected virtual System.Diagnostics.SymbolStore.ISymbolDocumentWriter DefineDocumentCore(string url, Guid language = default);

Parameters

url
String

The URL for the document.

language
Guid

The GUID that identifies the document language. This is optional.

Returns

The defined document.

Exceptions

This method is called on a dynamic module that is not a debug module.

Applies to

Product Versions
.NET 9, 10