Class Contains
Namespace: Autodesk.ModelDerivative.Model
Assembly: Autodesk.ModelDerivative.dll
Describes a query for retrieving objects where a specified property contains one or more words in a specified string.
[DataContract]
public class Contains : ISpecificPropertiesPayloadQuery
Inheritance
Implements
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
Contains()
Initializes a new instance of the
public Contains()
Properties
_Contains
Returns only the objects where the value of the specified property contains the words specified in a string.
The first element of the array contains the name of the property. The second element contains a string containing the words to match. The array can only be two elements long.
For example, if you specify an array as: "$contains":["properties.Materials and Finishes.Structural Material","Concrete Situ"]
, the request returns the properties of all objects whose properties.Materials and Finishes.Structural Material
property contains the words Concrete
and Situ
. You can specify up to 50 words.
[DataMember(Name = "$contains", EmitDefaultValue = false)]
public List<string> _Contains { get; set; }
Property Value
Methods
ToString()
Returns the string presentation of the object
public override string ToString()
Returns
String presentation of the object