Share via


IReadOnlyComplexType.IsContainedBy(Type) Method

Definition

Gets a value indicating whether given type is one of the containing types for this complex type.

public virtual bool IsContainedBy (Type type);
abstract member IsContainedBy : Type -> bool
override this.IsContainedBy : Type -> bool
Public Overridable Function IsContainedBy (type As Type) As Boolean

Parameters

type
Type

Type to search for in declaration path.

Returns

true if type is one of the containing types for this complex type, otherwise false.

Applies to