Partager via


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

'Declaration
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; }
public:
virtual property int TmcGetName[[InAttribute] int tmc, [OutAttribute] String^% pbstrName] {
    int get ([InAttribute] int tmc, [OutAttribute] String^% pbstrName);
}
abstract TmcGetName : 
        tmc:int * 
        pbstrName:string byref -> int with get 
override TmcGetName : 
        tmc:int * 
        pbstrName:string byref -> int with get
JScript does not support indexed properties.

Parameters

  • tmc
    Type: Int32

    Reserved. Set to 0.

  • pbstrName
    Type: String%

    [out] The name.

Property Value

Type: 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