System.Data.XSDSchema.GetMsdataAttribute C# (CSharp) Метод

GetMsdataAttribute() статический приватный Метод

static private GetMsdataAttribute ( XmlSchemaAnnotated node, string ln ) : string
node System.Xml.Schema.XmlSchemaAnnotated
ln string
Результат string
        internal static string GetMsdataAttribute(XmlSchemaAnnotated node, string ln)
        {
            XmlAttribute[] nodeAttributes = node.UnhandledAttributes;
            if (nodeAttributes != null)
                for (int i = 0; i < nodeAttributes.Length; i++)
                    if (nodeAttributes[i].LocalName == ln && nodeAttributes[i].NamespaceURI == Keywords.MSDNS)
                        return nodeAttributes[i].Value;
            return null;
        }