C1.LiveLinq.LiveViews.Xml Namespace > XmlExtensions Class > IndexedElement Method : IndexedElement(XElement,IndexingHintAction) Method |
'Declaration Public Overloads Shared Function IndexedElement( _ ByVal element As System.Xml.Linq.XElement, _ ByVal action As IndexingHintAction _ ) As XHint
public static XHint IndexedElement( System.Xml.Linq.XElement element, IndexingHintAction action )
var query = from c in customers where (string)c.Element("CustomerID").IndexedElement(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