PickerDialog.CloseIfValid Method
Closes the host if it validates correctly.
Namespace: Microsoft.VisualStudio.Modeling.Integration.Shell.Picker
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.Shell.12.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: System.Boolean
If closed or not (valid or not).
Implements
IModelBrowserHost.CloseIfValid()
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.Integration.Shell.Picker Namespace