a.spritestudio.editor.xml.NodeReader.findFirst C# (CSharp) Method

findFirst() public static method

ノードの検索
public static findFirst ( XmlDocument xml, string tag ) : NodeReader
xml System.Xml.XmlDocument
tag string
return NodeReader
        public static NodeReader findFirst( XmlDocument xml, string tag )
        {
            var node = xml.SelectSingleNode( tag );
            return node != null ? new NodeReader( node ) : null;
        }