MutableAnnotatableExtensions 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use IMutableAnnotatable
的 IMutableAnnotatable擴展方法 。
public static class MutableAnnotatableExtensions
[System.Obsolete("Use IMutableAnnotatable")]
public static class MutableAnnotatableExtensions
type MutableAnnotatableExtensions = class
[<System.Obsolete("Use IMutableAnnotatable")>]
type MutableAnnotatableExtensions = class
Public Module MutableAnnotatableExtensions
Public Class MutableAnnotatableExtensions
- 繼承
-
MutableAnnotatableExtensions
- 屬性
方法
| 名稱 | Description |
|---|---|
| AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>) |
已淘汰.
為物件添加註解。 |
| GetAnnotation(IMutableAnnotatable, String) |
已淘汰.
取得帶有名稱的註解,若不存在則拋出。 |
| GetOrAddAnnotation(IMutableAnnotatable, String, String) |
已淘汰.
取得帶有特定鍵的現有註解,或若不存在註解則新增。 |
| SetOrRemoveAnnotation(IMutableAnnotatable, String, Object) |
已淘汰.
設定以名字儲存的註解。 若已有指定名稱的註解存在,則會覆寫現有註解。 若 |