XElement.EmptySequence Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an empty collection of elements.
public:
static property System::Collections::Generic::IEnumerable<System::Xml::Linq::XElement ^> ^ EmptySequence { System::Collections::Generic::IEnumerable<System::Xml::Linq::XElement ^> ^ get(); };
public static System.Collections.Generic.IEnumerable<System.Xml.Linq.XElement> EmptySequence { get; }
static member EmptySequence : seq<System.Xml.Linq.XElement>
Public Shared ReadOnly Property EmptySequence As IEnumerable(Of XElement)
Property Value
An IEnumerable<T> of XElement that contains an empty collection.
Remarks
This property is typically used by class implementers when writing a method that returns a collection of elements. If the method must return no elements, it can use this property to get an empty collection of XElement objects.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.