RelationshipQueryCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a collection of relationship queries.
public ref class RelationshipQueryCollection sealed : Microsoft::Xrm::Sdk::DataCollection<Microsoft::Xrm::Sdk::Relationship ^, Microsoft::Xrm::Sdk::Query::QueryBase ^>
[System.Runtime.Serialization.CollectionDataContract(Name="RelationshipQueryCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class RelationshipQueryCollection : Microsoft.Xrm.Sdk.DataCollection<Microsoft.Xrm.Sdk.Relationship,Microsoft.Xrm.Sdk.Query.QueryBase>
[<System.Runtime.Serialization.CollectionDataContract(Name="RelationshipQueryCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type RelationshipQueryCollection = class
inherit DataCollection<Relationship, QueryBase>
Public NotInheritable Class RelationshipQueryCollection
Inherits DataCollection(Of Relationship, QueryBase)
- Inheritance
- Attributes
Remarks
For each relationship query in the collection there is a key/value pair. The key is the logical name of the relationship.
Constructors
RelationshipQueryCollection() |
Initializes a new instance of the RelationshipQueryCollection class. |
Properties
Count |
Gets the number of elements in the collection. (Inherited from DataCollection<TKey,TValue>) |
IsReadOnly |
Gets a value indicating whether the DataCollection<TKey,TValue> is read-only. (Inherited from DataCollection<TKey,TValue>) |
Item[TKey] |
Gets or sets the value associated with the specified key. (Inherited from DataCollection<TKey,TValue>) |
Keys |
Gets a collection containing the keys in the DataCollection<TKey,TValue>. (Inherited from DataCollection<TKey,TValue>) |
Values |
Gets a collection containing the values in the DataCollection<TKey,TValue>. (Inherited from DataCollection<TKey,TValue>) |
Methods
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the collection. (Inherited from DataCollection<TKey,TValue>) |