共用方式為


IVsOutputWindowPane.GetName Method

Returns the name of the window pane.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetName ( _
    ByRef pbstrPaneName As String _
) As Integer
int GetName(
    ref string pbstrPaneName
)
int GetName(
    String^% pbstrPaneName
)
abstract GetName : 
        pbstrPaneName:string byref -> int
function GetName(
    pbstrPaneName : String
) : int

Parameters

  • pbstrPaneName
    Type: String%

    Name of the window pane.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsOutputWindowPane::GetName(
   BSTR *pbstrPaneName
);

.NET Framework Security

See Also

Reference

IVsOutputWindowPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace