Pregunta

He visto esto en muchos comentarios XML para clases en .NET Framework BCL, pero nunca he podido encontrar documentación que explique lo que hace.

Como ejemplo, mirar System.Object revela los siguientes comentarios:

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);
     }
 }
¿Fue útil?

Solución

Solo una suposición: ¿las pestañas All vs Common en intellisense?

Otros consejos

Es lo mismo que decorar su miembro con EditorBrowsableAttribute. Supongo que los valores 0,1 y 2 corresponden a Siempre, Avanzado y Nunca.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top