OleMenuCommandService.ParentTarget Property
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Declaration
Public Property ParentTarget As IOleCommandTarget
'Usage
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);
}
public function get ParentTarget () : IOleCommandTarget
public function set ParentTarget (value : IOleCommandTarget)
Property Value
Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
.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.