AttributeTableBuilder.AddCallback(Type, AttributeCallback) Metodo

Definizione

Specifica un callback che verrà richiamato quando sono necessari i metadati per il tipo specificato.

public:
 void AddCallback(Type ^ type, System::Activities::Presentation::Metadata::AttributeCallback ^ callback);
public void AddCallback(Type type, System.Activities.Presentation.Metadata.AttributeCallback callback);
member this.AddCallback : Type * System.Activities.Presentation.Metadata.AttributeCallback -> unit
Public Sub AddCallback (type As Type, callback As AttributeCallback)

Parametri

type
Type

Tipo per il quale il callback fornirà i metadati.

callback
AttributeCallback

Metodo di callback.

Commenti

La prima volta che AttributeTable un oggetto restituito da CreateTable viene sottoposto a query per gli attributi per type, callback viene chiamato per fornire le informazioni sui metadati.

Si applica a