ObjectSet<TEntity>.Attach(TEntity) 方法

定義

將物件或物件圖形附加至目前實體集中的物件內容。

public:
 virtual void Attach(TEntity entity);
public void Attach(TEntity entity);
abstract member Attach : 'Entity -> unit
override this.Attach : 'Entity -> unit
Public Sub Attach (entity As TEntity)

參數

entity
TEntity

要掛上的物品。

實作

備註

此方法包覆整個 AttachTo 方法。

適用於

另請參閱