Click or drag to resize
IdmResourceGetAttrT Method (String, T)
Get the complex object that is backing a single-valued reference attribute in IdmNet.

Namespace: IdmNet.Models
Assembly: IdmNet (in IdmNet.dll) Version: 1.3.0.0 (1.3.0)
Syntax
public T GetAttr<T>(
	string attrName,
	T backingField
)
where T : new(), IdmResource

Parameters

attrName
Type: SystemString
Name of the single-valued attribute to retrieve
backingField
Type: T
Object that contains the representation for the reference type

Type Parameters

T
Complex Object's type, such as "Person" for Creator

Return Value

Type: T
Strongly-typed single value for the Attribute
See Also