语言

AnnotatableExtensions 类

定义

注意

Use IReadOnlyAnnotatable

的 IReadOnlyAnnotatable扩展方法 。

public static class AnnotatableExtensions
[System.Obsolete("Use IReadOnlyAnnotatable")]
public static class AnnotatableExtensions
type AnnotatableExtensions = class
[<System.Obsolete("Use IReadOnlyAnnotatable")>]
type AnnotatableExtensions = class
Public Module AnnotatableExtensions
Public Class AnnotatableExtensions
继承
AnnotatableExtensions
特性

方法

名称 说明
AnnotationsToDebugString(IAnnotatable, Int32)
已过时.

获取针对对象上声明的所有批注的调试字符串。

GetAnnotation(IAnnotatable, String)
已过时.

获取具有给定名称的批注,如果不存在,则引发该批注。

适用于