C1.LiveLinq.LiveViews.Xml Namespace > XmlExtensions Class > IndexedAttribute Method : IndexedAttribute(XAttribute,IndexingHintAction) Method |
'Declaration Public Overloads Shared Function IndexedAttribute( _ ByVal attribute As System.Xml.Linq.XAttribute, _ ByVal action As IndexingHintAction _ ) As XHint
public static XHint IndexedAttribute( System.Xml.Linq.XAttribute attribute, IndexingHintAction action )
var query = from c in customers where (string)c.Attribute("CustomerID").IndexedAttribute(IndexingHintAction.Mandatory) == "ALFKI" select c;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2