Partilhar via


PickerDialog.CloseIfValid Method

Closes the host if it validates correctly

Namespace:  Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.10.0.dll)

Syntax

'Declaração
Public Function CloseIfValid As Boolean
public bool CloseIfValid()
public:
virtual bool CloseIfValid() sealed
abstract CloseIfValid : unit -> bool 
override CloseIfValid : unit -> bool 
public final function CloseIfValid() : boolean

Return Value

Type: System.Boolean
if closed or not(valid or not)

Implements

IModelBrowserHost.CloseIfValid()

.NET Framework Security

See Also

Reference

PickerDialog Class

Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace