Acme.Northwind.Install.XmlHelper.GetAttribute C# (CSharp) Метод

GetAttribute() публичный статический Метод

Get a node attribute value for the specified attribute name
public static GetAttribute ( this node, string attributeName, System.Guid defaultValue ) : System.Guid
node this
attributeName string
defaultValue System.Guid
Результат System.Guid
		public static Guid GetAttribute(this XmlNode node, string attributeName, Guid defaultValue)
		{
			return new Guid(node.GetAttribute(attributeName, defaultValue.ToString()));
		}

Same methods

XmlHelper::GetAttribute ( this node, string attributeName, bool defaultValue ) : bool
XmlHelper::GetAttribute ( this node, string attributeName, double defaultValue ) : double
XmlHelper::GetAttribute ( this node, string attributeName, int defaultValue ) : int
XmlHelper::GetAttribute ( this node, string attributeName, long defaultValue ) : long
XmlHelper::GetAttribute ( this node, string attributeName ) : string
XmlHelper::GetAttribute ( this node, string attributeName, string defaultValue ) : string