CrmEntity.SetAttributeCollectionValue<T> Method (String, String, IEnumerable<T>)
Applies To: Dynamics CRM 2013
Modifies the value of a sequence attribute.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected virtual void SetAttributeCollectionValue<T>(
string propertyName,
string attributeLogicalName,
IEnumerable<T> value
)
where T : Entity
protected:
generic<typename T>
where T : Entity
virtual void SetAttributeCollectionValue(
String^ propertyName,
String^ attributeLogicalName,
IEnumerable<T>^ value
)
abstract SetAttributeCollectionValue<'T when 'T : Entity> :
propertyName:string *
attributeLogicalName:string *
value:IEnumerable<'T> -> unit
override SetAttributeCollectionValue<'T when 'T : Entity> :
propertyName:string *
attributeLogicalName:string *
value:IEnumerable<'T> -> unit
Protected Overridable Sub SetAttributeCollectionValue(Of T As Entity) (
propertyName As String,
attributeLogicalName As String,
value As IEnumerable(Of T)
)
Parameters
propertyName
Type: System.StringType: String. The name of the property to set.
attributeLogicalName
Type: System.StringType: String. The logical name of the attribute.
value
Type: System.Collections.Generic.IEnumerable<T>Type: IEnumerable<T>. The value of the property.
Type Parameters
- T
Type: Entity. The entity.
See Also
CrmEntity Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top