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 包裝函式。

適用於

另請參閱