XAttribute.EmptySequence Propriedade
Definição
Obtém uma coleção vazia de atributos.Gets an empty collection of attributes.
public:
static property System::Collections::Generic::IEnumerable<System::Xml::Linq::XAttribute ^> ^ EmptySequence { System::Collections::Generic::IEnumerable<System::Xml::Linq::XAttribute ^> ^ get(); };
public static System.Collections.Generic.IEnumerable<System.Xml.Linq.XAttribute> EmptySequence { get; }
member this.EmptySequence : seq<System.Xml.Linq.XAttribute>
Public Shared ReadOnly Property EmptySequence As IEnumerable(Of XAttribute)
Valor da propriedade
Um IEnumerable<T> de XAttribute contendo uma coleção vazia.An IEnumerable<T> of XAttribute containing an empty collection.
Comentários
Essa propriedade normalmente é usada por implementadores de classe ao escrever um método que retorna uma coleção de atributos.This property is typically used by class implementers when writing a method that returns a collection of attributes. Se o método precisar retornar uma coleção vazia de atributos, ele poderá usar essa propriedade para obter uma coleção vazia de XAttribute objetos.If the method needs to return an empty collection of attributes, it could use this property to get an empty collection of XAttribute objects.