XElementExtensions.GetEntityByAttribute<T> Method

Get the matching entity from the entity_list by attribute
<Extension()> _ 
Public Shared Function GetEntityByAttribute(Of _ 
T As AttributedImportEntity)( _ 
ByVal elem As XElement, _ 
ByVal entity_id_path As String, _ 
ByVal entity_list As IList(Of T), _ 
ByVal attrib_id As EntityID
) As T
This language is not supported or no code example is available.
public static T GetEntityByAttribute<T>( 
this XElement elem
string entity_id_path
IList<T> entity_list
EntityID attrib_id 

where T : AttributedImportEntity
This language is not supported or no code example is available.
[Extension()] 
generic<typename T> 
where T : AttributedImportEntity
public:  
static T^ GetEntityByAttribute( 
XElement^ elem
String^ entity_id_path
IList<T^>^ entity_list
EntityID^ attrib_id 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

T

Parameters

elem
XElement

entity_id_path
string

entity_list
IList<T>

attrib_id
EntityID

Return Value

T

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition