public static IsChoiceType ( |
||
complexType | ||
return | bool |
public static bool IsChoiceType(XmlSchemaComplexType complexType)
{
if (complexType != null)
{
#region choice
// check if it is e choice
XmlSchemaChoice choice = complexType.ContentTypeParticle as XmlSchemaChoice;
if (choice != null)
{
return true;
}
#endregion
}
return false;
}
XmlSchemaUtility::IsChoiceType ( |