Partager via


OleMenuCommandService.ParentTarget Property

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public Property ParentTarget As IOleCommandTarget
    Get
    Set
'Utilisation
Dim instance As OleMenuCommandService
Dim value As IOleCommandTarget

value = instance.ParentTarget

instance.ParentTarget = value
public IOleCommandTarget ParentTarget { get; set; }
public:
property IOleCommandTarget^ ParentTarget {
    IOleCommandTarget^ get ();
    void set (IOleCommandTarget^ value);
}
member ParentTarget : IOleCommandTarget with get, set
function get ParentTarget () : IOleCommandTarget
function set ParentTarget (value : IOleCommandTarget)

Property Value

Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget

.NET Framework Security

See Also

Reference

OleMenuCommandService Class

OleMenuCommandService Members

Microsoft.VisualStudio.Shell Namespace