語言

MetaDataMember.IsDeclaredBy(MetaType) 方法

定義

當在派生類別中覆寫時,指定該成員是否由指定型別宣告。

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

要檢查的類型。

傳回

true如果該成員被指定類型宣告;否則,。 false

適用於