Bagikan melalui


PickerDialog.CloseIfValid Method

Closes the host if it validates correctly.

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

Syntax

'Declaration
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: 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