IdmResourceSetMultiValuedAttrT Method |
Set the list of complex objects that is backing a multi-valued reference attribute in IdmNet.
Namespace: IdmNet.ModelsAssembly: IdmNet (in IdmNet.dll) Version: 1.3.0.0 (1.3.0)
Syntax public void SetMultiValuedAttr<T>(
string attrName,
out List<T> backingField,
List<T> values
)
where T : new(), IdmResource
Public Sub SetMultiValuedAttr(Of T As {New, IdmResource}) (
attrName As String,
<OutAttribute> ByRef backingField As List(Of T),
values As List(Of T)
)
public:
generic<typename T>
where T : gcnew(), IdmResource
void SetMultiValuedAttr(
String^ attrName,
[OutAttribute] List<T>^% backingField,
List<T>^ values
)
member SetMultiValuedAttr :
attrName : string *
backingField : List<'T> byref *
values : List<'T> -> unit when 'T : new() and IdmResource
Parameters
- attrName
- Type: SystemString
Name of the multi-valued attribute to set - backingField
- Type: System.Collections.GenericListT
List of objects that will contain the representations for the references - values
- Type: System.Collections.GenericListT
List of objects that contains the representations for the references
Type Parameters
- T
- Complex Object's type, such as "Person" for a Group object's Owners
See Also