Returns the value of an attribute and converts it to the format
specified in the generic type.
Declaration Syntax
public static T GetAttributeValueGeneric<T>(
XElement element,
string name
)
Public Shared Function GetAttributeValueGeneric(Of T) ( _
element As XElement, _
name As String _
) As T
Generic Template Parameters
Parameters
- element (XElement)
- XElement containing the attribute
- name (String)
- Attribute name
Return Value
Attribute value
Assembly:
MPfm.Core (Module: MPfm.Core) Version: 0.5.3.0 (0.5.3.0)