XAttribute.EmptySequence Egenskap

Definition

Hämtar en tom samling attribut.

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; }
static member EmptySequence : seq<System.Xml.Linq.XAttribute>
Public Shared ReadOnly Property EmptySequence As IEnumerable(Of XAttribute)

Egenskapsvärde

En IEnumerable<T> av XAttribute innehåller en tom samling.

Kommentarer

Den här egenskapen används vanligtvis av klass-implementerare när du skriver en metod som returnerar en samling attribut. Om metoden behöver returnera en tom samling attribut kan den använda den här egenskapen för att hämta en tom samling XAttribute objekt.

Gäller för

Se även