.net – XML注释中的filterpriority标签是什么?
发布时间:2020-12-16 08:05:59 所属栏目:百科 来源:网络整理
导读:我已经在.NET框架BCL中的许多XML注释中看到这一点,但从来没有找到解释它做什么的文档。 例如,查看System.Object会显示以下注释: namespace System { /// summarySupports all classes in the .NET Framework class hierarchy /// and provides low-level
我已经在.NET框架BCL中的许多XML注释中看到这一点,但从来没有找到解释它做什么的文档。
例如,查看System.Object会显示以下注释: namespace System { /// <summary>Supports all classes in the .NET Framework class hierarchy /// and provides low-level services to derived classes. This is the /// ultimate base class of all classes in the .NET Framework; it is the /// root of the type hierarchy.</summary> /// <filterpriority>1</filterpriority> [System.Runtime.InteropServices.ClassInterfaceAttribute(2)] public class Object { /// <summary>Determines whether the specified /// <see cref="T:System.Object" /> /// instances are considered equal.</summary> /// <returns>true if objA is the same instance as objB or /// if both are null /// references or if objA.Equals(objB) returns true; /// otherwise,false.</returns> /// <param name="objB">The second <see cref="T:System.Object" /> /// to compare. </param> /// <param name="objA">The first <see cref="T:System.Object" /> /// to compare. </param> /// <filterpriority>2</filterpriority> public static bool Equals(object objA,object objB); } }
只是猜测:intellisense中的所有vs常见选项卡?
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |