IVsOutputWindow2.GetActivePaneGUID Method
Returns the GUID of the active pane.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function GetActivePaneGUID ( _
<OutAttribute> ByRef pguidPane As Guid _
) As Integer
'用途
Dim instance As IVsOutputWindow2
Dim pguidPane As Guid
Dim returnValue As Integer
returnValue = instance.GetActivePaneGUID(pguidPane)
int GetActivePaneGUID(
out Guid pguidPane
)
int GetActivePaneGUID(
[OutAttribute] Guid% pguidPane
)
abstract GetActivePaneGUID :
pguidPane:Guid byref -> int
function GetActivePaneGUID(
pguidPane : Guid
) : int
Parameters
- pguidPane
Type: System.Guid%
[out] Pointer to the GUID of the active pane. Set to GUID_NULL if there is no active pane.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.