EntityDataSource.ContextType Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le type utilisé ObjectContext par le EntityDataSource contrôle.
public:
property Type ^ ContextType { Type ^ get(); void set(Type ^ value); };
public Type ContextType { get; set; }
member this.ContextType : Type with get, set
Public Property ContextType As Type
Valeur de propriété
Objet qui dérive de ObjectContext.
Implémente
Remarques
Le ObjectContext contrôle utilisé EntityDataSource est accessible à partir de la ContextType propriété. Pour plus d’informations, consultez Le contexte d’objet Life-Cycle Management (EntityDataSource).