XAttribute.EmptySequence 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取属性的空集合。
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)
属性值
包含空集合的IEnumerable<T>集合XAttribute。
注解
编写返回属性集合的方法时,类实现器通常使用此属性。 如果方法需要返回属性的空集合,它可以使用此属性获取对象的空集合 XAttribute 。