Pergunta

Eu já vi isso em muitos comentários XML para aulas no .NET Framework BCL, mas nunca consegui encontrar documentação que explique o que faz.

Como exemplo, olhar para o System.Object revela os seguintes comentários:

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

Solução

Apenas um palpite: as abas All Vs Common no IntelliSense?

Outras dicas

É o mesmo que decorar seu membro com o EditorBrowsableAttribute. Eu acho que os valores 0,1 e 2 corresponde a sempre, avançados e nunca.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top