ITypeInfo.IsDerivedFrom(String, String, Int32) Method

Definition

This method returns if there is a derivation between the reference type definition, i.

[Android.Runtime.Register("isDerivedFrom", "(Ljava/lang/String;Ljava/lang/String;I)Z", "GetIsDerivedFrom_Ljava_lang_String_Ljava_lang_String_IHandler:Org.W3c.Dom.ITypeInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsDerivedFrom (string? typeNamespaceArg, string? typeNameArg, int derivationMethod);
[<Android.Runtime.Register("isDerivedFrom", "(Ljava/lang/String;Ljava/lang/String;I)Z", "GetIsDerivedFrom_Ljava_lang_String_Ljava_lang_String_IHandler:Org.W3c.Dom.ITypeInfoInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsDerivedFrom : string * string * int -> bool

Parameters

typeNamespaceArg
String

the namespace of the other type definition.

typeNameArg
String

the name of the other type definition.

derivationMethod
Int32

the type of derivation and conditions applied between two types, as described in the list of constants provided in this interface.

Returns

If the document's schema is a DTD or no schema is associated with the document, this method will always return false . If the document's schema is an XML Schema, the method will true if the reference type definition is derived from the other type definition according to the derivation parameter. If the value of the parameter is 0 (no bit is set to 1 for the derivationMethod parameter), the method will return true if the other type definition can be reached by recursing any combination of {base type definition}, {item type definition}, or {member type definitions} from the reference type definition.

Attributes

Remarks

This method returns if there is a derivation between the reference type definition, i.e. the TypeInfo on which the method is being called, and the other type definition, i.e. the one passed as parameters.

Java documentation for org.w3c.dom.TypeInfo.isDerivedFrom(java.lang.String, java.lang.String, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to