MVVMSupport.GetViewModel Method
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Shared Function GetViewModel ( _
obj As DependencyObject _
) As Object
public static Object GetViewModel(
DependencyObject obj
)
public:
static Object^ GetViewModel(
DependencyObject^ obj
)
static member GetViewModel :
obj:DependencyObject -> Object
public static function GetViewModel(
obj : DependencyObject
) : Object
Parameters
- obj
Type: System.Windows.DependencyObject
Return Value
Type: System.Object
Returns Object.
.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.