MetaDataMember.IsDeclaredBy(MetaType) 方法

定义

在派生类中重写时,指定是否按指定类型声明此成员。When overridden in a derived class, specifies whether this member is declared by the specified type.

public:
 abstract bool IsDeclaredBy(System::Data::Linq::Mapping::MetaType ^ type);
public abstract bool IsDeclaredBy (System.Data.Linq.Mapping.MetaType type);
abstract member IsDeclaredBy : System.Data.Linq.Mapping.MetaType -> bool
Public MustOverride Function IsDeclaredBy (type As MetaType) As Boolean

参数

type
MetaType

要检查的类型。The type to check.

返回

Boolean

如果此成员是由指定类型声明的,则为 true;否则为 falsetrue if this member is declared by the specified type; otherwise, false.

适用于