語言

MessagePartSpecification.IsReadOnly 屬性

定義

會獲得一個值,表示該規範是否為唯讀。

public:
 property bool IsReadOnly { bool get(); };
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

屬性值

true若規範為唯讀;否則,。 false

備註

你可以用 MakeReadOnly 將此屬性設定為 true。 Clear 將屬性設為 false。

適用於