語言

AnnotatableExtensions.AnnotationsToDebugString(IAnnotatable, Int32) 方法

定義

取得物件上所有宣告註解的除錯字串。

public static string AnnotationsToDebugString(this Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, int indent = 0);
static member AnnotationsToDebugString : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * int -> string
<Extension()>
Public Function AnnotationsToDebugString (annotatable As IAnnotatable, Optional indent As Integer = 0) As String

參數

annotatable
IAnnotatable

用來讓註解在除錯字串中列印的物件。

indent
Int32

每行新增前應使用縮排空格數。

傳回

除錯所有註解的字串表示。

適用於