ValidationContext.TryGetCacheValue<T>(String, T) Méthode

Définition

Retourne si l'objet mis en cache associé au nom existe ou n'existe pas

public:
generic <typename T>
 where T : class, gcnew() bool TryGetCacheValue(System::String ^ name, [Runtime::InteropServices::Out] T % outValue);
public bool TryGetCacheValue<T> (string name, out T outValue) where T : class, new();
member this.TryGetCacheValue : string * 'T -> bool (requires 'T : null and 'T : (new : unit -> 'T))
Public Function TryGetCacheValue(Of T As {Class, New}) (name As String, ByRef outValue As T) As Boolean

Paramètres de type

T

Paramètres

name
String

Nom du cache

outValue
T

Retours

Boolean

Objet du type donné.

S’applique à