XAttribute.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 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; }
static member EmptySequence : seq<System.Xml.Linq.XAttribute>
Public Shared ReadOnly Property EmptySequence As IEnumerable(Of XAttribute)
Property Value
An IEnumerable<T> of XAttribute containing an empty collection.
Remarks
This property is typically used by class implementers when writing a method that returns a collection of attributes. If the method needs to return an empty collection of attributes, it could use this property to get an empty collection of XAttribute objects.
Applies to
See also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET