MPfm: Music Player for Musicians - Developer Documentation - 0.6.0.0
GetAttributeValueGeneric<(Of <(<'T>)>)> Method (element, name)
NamespacesMPfm.CoreXMLHelperGetAttributeValueGeneric<(Of <<'(T>)>>)(XElement, String)
Returns the value of an attribute and converts it to the format specified in the generic type.
Declaration Syntax
C#Visual Basic
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
T
Format to convert
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)