IEditorSettings.BracePositionOnNewLineCSharp 屬性
適用於版本2
取得或設定是否用大括弧括住 C# 中的位置。
命名空間: Microsoft.WebMatrix.Extensibility.Editor
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Property BracePositionOnNewLineCSharp As Boolean
Get
Set
'用途
Dim instance As IEditorSettings
Dim value As Boolean
value = instance.BracePositionOnNewLineCSharp
instance.BracePositionOnNewLineCSharp = value
bool BracePositionOnNewLineCSharp { get; set; }
property bool BracePositionOnNewLineCSharp {
bool get ();
void set (bool value);
}
abstract BracePositionOnNewLineCSharp : bool with get, set
function get BracePositionOnNewLineCSharp () : boolean
function set BracePositionOnNewLineCSharp (value : boolean)
屬性值
型別:System.Boolean
true 表示在 C# 中設定大括弧的位置,否則為 false。