XmlSchemaType.IsDerivedFrom メソッド
アセンブリ: System.Xml (system.xml.dll 内)

Public Shared Function IsDerivedFrom ( _ derivedType As XmlSchemaType, _ baseType As XmlSchemaType, _ except As XmlSchemaDerivationMethod _ ) As Boolean
Dim derivedType As XmlSchemaType Dim baseType As XmlSchemaType Dim except As XmlSchemaDerivationMethod Dim returnValue As Boolean returnValue = XmlSchemaType.IsDerivedFrom(derivedType, baseType, except)
public static bool IsDerivedFrom ( XmlSchemaType derivedType, XmlSchemaType baseType, XmlSchemaDerivationMethod except )
public: static bool IsDerivedFrom ( XmlSchemaType^ derivedType, XmlSchemaType^ baseType, XmlSchemaDerivationMethod except )
public static boolean IsDerivedFrom ( XmlSchemaType derivedType, XmlSchemaType baseType, XmlSchemaDerivationMethod except )
public static function IsDerivedFrom ( derivedType : XmlSchemaType, baseType : XmlSchemaType, except : XmlSchemaDerivationMethod ) : boolean
戻り値
派生型が基本型から派生した場合は true。それ以外の場合は false。

XmlSchemaType xsdInteger = XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Integer); XmlSchemaType xsdPositiveInteger = XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.PositiveInteger); // true Console.WriteLine(XmlSchemaType.IsDerivedFrom(xsdPositiveInteger, xsdInteger, XmlSchemaDerivationMethod.None)); // false Console.WriteLine(XmlSchemaType.IsDerivedFrom(xsdPositiveInteger, xsdInteger, XmlSchemaDerivationMethod.Restriction));
Dim xsdInteger As XmlSchemaType = XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Integer) Dim xsdPositiveInteger As XmlSchemaType = XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.PositiveInteger) ' True Console.WriteLine(XmlSchemaType.IsDerivedFrom(xsdPositiveInteger, xsdInteger, XmlSchemaDerivationMethod.None)) ' False Console.WriteLine(XmlSchemaType.IsDerivedFrom(xsdPositiveInteger, xsdInteger, XmlSchemaDerivationMethod.Restriction))

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からXmlSchemaType.IsDerivedFrom メソッドを検索する場合は、下記のリンクをクリックしてください。

- XmlSchemaType.IsDerivedFrom メソッドのページへのリンク