public GetAttribute ( string attrName ) : string | ||
attrName | string | |
Résultat | string |
public string GetAttribute(string attrName)
{
return GetAttribute(attrName, null);
}
XML::GetAttribute ( string attrName, string defValue ) : string |
public override void Setup_BeforeAdd(Utils.XML xml) { base.Setup_BeforeAdd(xml); _promptText = xml.GetAttribute("prompt"); _textField.restrict = xml.GetAttribute("restrict"); _textField.maxLength = xml.GetAttributeInt("maxLength", int.MaxValue); _textField.keyboardType = xml.GetAttributeInt("keyboardType"); }