VisualTargetPresentationSource Constructor
Constructs the PresentationSource for the given HostVisual, which is the host for the root of the worker thread Visual tree.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
‘선언
Public Sub New ( _
hostVisual As HostVisual _
)
‘사용 방법
Dim hostVisual As HostVisual
Dim instance As New VisualTargetPresentationSource(hostVisual)
public VisualTargetPresentationSource(
HostVisual hostVisual
)
public:
VisualTargetPresentationSource(
HostVisual^ hostVisual
)
new :
hostVisual:HostVisual -> VisualTargetPresentationSource
public function VisualTargetPresentationSource(
hostVisual : HostVisual
)
Parameters
- hostVisual
Type: System.Windows.Media.HostVisual
.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
VisualTargetPresentationSource Class