共用方式為


ISymbol.GetDocumentationCommentXml 方法

定義

取得 XML (做為與符號相關聯之批註的文字) 。

public string GetDocumentationCommentXml (System.Globalization.CultureInfo preferredCulture = default, bool expandIncludes = false, System.Threading.CancellationToken cancellationToken = default);
public string? GetDocumentationCommentXml (System.Globalization.CultureInfo? preferredCulture = default, bool expandIncludes = false, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDocumentationCommentXml : System.Globalization.CultureInfo * bool * System.Threading.CancellationToken -> string
Public Function GetDocumentationCommentXml (Optional preferredCulture As CultureInfo = Nothing, Optional expandIncludes As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As String

參數

preferredCulture
CultureInfo

預設值的慣用文化特性或 Null。

expandIncludes
Boolean

選擇性地展開 < include > 元素。 不會影響非來原始檔案批註。

cancellationToken
CancellationToken

允許取消要求的權杖。

傳回

要寫入符號檔檔的 XML。

適用於