IWindowDisplayService.ShowDialog Method
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Function ShowDialog ( _
key As String, _
viewModel As ViewModelBase _
) As Nullable(Of Boolean)
Nullable<bool> ShowDialog(
string key,
ViewModelBase viewModel
)
Nullable<bool> ShowDialog(
String^ key,
ViewModelBase^ viewModel
)
abstract ShowDialog :
key:string *
viewModel:ViewModelBase -> Nullable<bool>
function ShowDialog(
key : String,
viewModel : ViewModelBase
) : Nullable<boolean>
Parameters
- key
Type: System.String
- viewModel
Type: Microsoft.TeamFoundation.MVVM.ViewModelBase
Return Value
Type: System.Nullable<Boolean>
Returns Boolean.
.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.