MPfm: Music Player for Musicians - Developer Documentation -
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
Format to convert
element (XElement)
XElement containing the attribute
name (String)
Attribute name
Return Value
Attribute value

Assembly: MPfm.Core (Module: MPfm.Core) Version: (