System.Xml.DocumentSchemaValidator.AncestorTypeHasWildcard C# (CSharp) Méthode

AncestorTypeHasWildcard() private méthode

private AncestorTypeHasWildcard ( XmlSchemaObject ancestorType ) : bool
ancestorType System.Xml.Schema.XmlSchemaObject
Résultat bool
        private bool AncestorTypeHasWildcard(XmlSchemaObject ancestorType)
        {
            XmlSchemaComplexType ancestorSchemaType = GetComplexType(ancestorType);
            if (ancestorType != null)
            {
                return ancestorSchemaType.HasWildCard;
            }
            return false;
        }