Ejemplo n.º 1
0
 /// <summary>
 ///     Converts the contents returned from the attribute or spatial query into an XML document.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="filter">The attribute or spatial query filter.</param>
 /// <param name="predicate">
 ///     The predicate to determine if the field should be included; otherwise <c>null</c> for all
 ///     fields.
 /// </param>
 /// <returns>
 ///     Returns a <see cref="XDocument" /> representing the contents of the query.
 /// </returns>
 /// <exception cref="System.ArgumentNullException">predicate</exception>
 public static XDocument GetXDocument(this IFeatureClass source, IQueryFilter filter, Predicate <IField> predicate)
 {
     return(source.GetXDocument(filter, predicate, "FeatureClass"));
 }