ToolWindowPane.Frame Property
Gets or sets the IVsWindowFrame that hosts the ToolWindowPane.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣告
Public Property Frame As Object
Get
Set
'用途
Dim instance As ToolWindowPane
Dim value As Object
value = instance.Frame
instance.Frame = value
public Object Frame { get; set; }
public:
property Object^ Frame {
Object^ get ();
void set (Object^ value);
}
member Frame : Object with get, set
function get Frame () : Object
function set Frame (value : Object)
Property Value
Type: System.Object
[:Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame].
Remarks
Setting the value of Frame causes OnToolWindowCreated to fire.
.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.