Compartilhar via


ReflectionModelServices.IsDisposalRequired(ComposablePartDefinition) Método

Definição

Determina se o bloco especificado exige descarte.

public:
 static bool IsDisposalRequired(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ partDefinition);
public static bool IsDisposalRequired (System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition);
static member IsDisposalRequired : System.ComponentModel.Composition.Primitives.ComposablePartDefinition -> bool
Public Shared Function IsDisposalRequired (partDefinition As ComposablePartDefinition) As Boolean

Parâmetros

partDefinition
ComposablePartDefinition

O bloco a ser examinado.

Retornos

true se o bloco exige o descarte; caso contrário, false.

Exceções

partDefinition é null.

Aplica-se a