共用方式為


CommandBarsClass.TmcGetName Property

Gets the name. This method has been deprecated.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Public Overridable ReadOnly Property TmcGetName ( _
    tmc As Integer, _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
public virtual int this[
    int tmc,
    out string pbstrName
] { get; }

Parameters

Property Value

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

Implements

_CommandBars.TmcGetName

Remarks

Notes to Inheritors

This property should throw a DeprecatedException.

.NET Framework Security

See Also

Reference

CommandBarsClass Class

Microsoft.VisualStudio.CommandBars Namespace