Compartilhar via


JournalEntry.SetKeepAlive(DependencyObject, Boolean) Método

Definição

Define a propriedade anexada KeepAlive do elemento especificado.

public:
 static void SetKeepAlive(System::Windows::DependencyObject ^ dependencyObject, bool keepAlive);
public static void SetKeepAlive (System.Windows.DependencyObject dependencyObject, bool keepAlive);
static member SetKeepAlive : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetKeepAlive (dependencyObject As DependencyObject, keepAlive As Boolean)

Parâmetros

dependencyObject
DependencyObject

O elemento no qual definir o valor da propriedade anexada.

keepAlive
Boolean

true para manter a entrada de diário na memória; caso contrário, false.

Aplica-se a

Confira também