Megosztás a következőn keresztül:


AdvancedToolParameters.IsModalDialog Property

Whether the operation was invoked from a modal dialog inside Visual Studio or not

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Property IsModalDialog As Boolean
public bool IsModalDialog { get; set; }
public:
property bool IsModalDialog {
    bool get ();
    void set (bool value);
}
member IsModalDialog : bool with get, set
function get IsModalDialog () : boolean 
function set IsModalDialog (value : boolean)

Property Value

Type: System.Boolean
true if the operation was invoked from a modal dialog inside Visual Studio; otherwise, false.

.NET Framework Security

See Also

Reference

AdvancedToolParameters Class

Microsoft.TeamFoundation.VersionControl.Client Namespace