System.Xml.Schema.XmlSchemaAttribute.SetQualifiedName C# (CSharp) Méthode

SetQualifiedName() private méthode

private SetQualifiedName ( XmlQualifiedName value ) : void
value System.Xml.XmlQualifiedName
Résultat void
        internal void  SetQualifiedName(XmlQualifiedName value) { 
            qualifiedName = value;
        }

Usage Example

 private void PreprocessAttribute(XmlSchemaAttribute attribute)
 {
     if (attribute.Name != null)
     {
         this.ValidateNameAttribute(attribute);
         attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, this.targetNamespace));
     }
     else
     {
         base.SendValidationEvent("Sch_MissRequiredAttribute", "name", attribute);
     }
     if (attribute.Use != XmlSchemaUse.None)
     {
         base.SendValidationEvent("Sch_ForbiddenAttribute", "use", attribute);
     }
     if (attribute.Form != XmlSchemaForm.None)
     {
         base.SendValidationEvent("Sch_ForbiddenAttribute", "form", attribute);
     }
     this.PreprocessAttributeContent(attribute);
     this.ValidateIdAttribute(attribute);
 }
All Usage Examples Of System.Xml.Schema.XmlSchemaAttribute::SetQualifiedName