Kopīgot, izmantojot


ParameterCollection Class

Definition

Provides a collection of parameters for a request.

public ref class ParameterCollection : Microsoft::Xrm::Sdk::DataCollection<System::String ^, System::Object ^>
[System.Runtime.Serialization.CollectionDataContract(Name="ParameterCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
[System.Runtime.Serialization.KnownType("GetKnownParameterTypes")]
public class ParameterCollection : Microsoft.Xrm.Sdk.DataCollection<string,object>
[<System.Runtime.Serialization.CollectionDataContract(Name="ParameterCollection", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
[<System.Runtime.Serialization.KnownType("GetKnownParameterTypes")>]
type ParameterCollection = class
    inherit DataCollection<string, obj>
Public Class ParameterCollection
Inherits DataCollection(Of String, Object)
Inheritance
ParameterCollection
Attributes

Remarks

For each parameter in the collection there is a key/value pair. The key is the name of the request parameter as defined in the message.

Constructors

ParameterCollection()

Initializes a new instance of the ParameterCollection class.

ParameterCollection(IDictionary<String,Object>)

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

Add(KeyValuePair<TKey,TValue>)

Adds the specified key and value to the dictionary.

(Inherited from DataCollection<TKey,TValue>)
Add(TKey, TValue)

Adds the specified key and value to the dictionary.

(Inherited from DataCollection<TKey,TValue>)
AddOrUpdateIfNotNull(String, Object)
AddRange(IEnumerable<KeyValuePair<TKey,TValue>>)

Adds the elements of the specified collection to the end of the DataCollection<TKey,TValue>.

(Inherited from DataCollection<TKey,TValue>)
AddRange(KeyValuePair<TKey,TValue>[])

Adds the elements of the specified collection to the end of the DataCollection<TKey,TValue>.

(Inherited from DataCollection<TKey,TValue>)
Clear()

Removes all items from the DataCollection<TKey,TValue>.

(Inherited from DataCollection<TKey,TValue>)
Contains(KeyValuePair<TKey,TValue>)

Determines whether the DataCollection<TKey,TValue> contains a specific value.

(Inherited from DataCollection<TKey,TValue>)
Contains(TKey)

Determines whether the DataCollection<TKey,TValue> contains a specific value.

(Inherited from DataCollection<TKey,TValue>)
ContainsKey(TKey)

Determines whether the DataCollection<TKey,TValue> contains a specific key value.

(Inherited from DataCollection<TKey,TValue>)
CopyTo(KeyValuePair<TKey,TValue>[], Int32) (Inherited from DataCollection<TKey,TValue>)
GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from DataCollection<TKey,TValue>)
Remove(KeyValuePair<TKey,TValue>)

Removes the first occurrence of a specific object from the DataCollection<TKey,TValue>.

(Inherited from DataCollection<TKey,TValue>)
Remove(TKey)

Removes the first occurrence of a specific object from the DataCollection<TKey,TValue>.

(Inherited from DataCollection<TKey,TValue>)
TryGetValue(TKey, TValue)

Gets the value associated with the specified key.

(Inherited from DataCollection<TKey,TValue>)
TryGetValue<T>(String, T)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

(Inherited from DataCollection<TKey,TValue>)

Applies to