共用方式為


_CommandBars.TmcGetName Property

This method is deprecated.

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

Syntax

'宣告
ReadOnly Property TmcGetName ( _
    tmc As Integer, _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
    Get
'用途
Dim instance As _CommandBars
Dim tmc As Integer
Dim pbstrName As String
Dim value As Integer

value = instance.TmcGetName(tmc, pbstrName)
int this[
    int tmc,
    out string pbstrName
] { get; }
property int TmcGetName[[InAttribute] int tmc, [OutAttribute] String^% pbstrName] {
    int get ([InAttribute] int tmc, [OutAttribute] String^% pbstrName);
}
abstract TmcGetName : int
JScript does not support indexed properties.

Parameters

Property Value

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

Remarks

This method throws an exception when called.

.NET Framework Security

See Also

Reference

_CommandBars Interface

_CommandBars Members

Microsoft.VisualStudio.CommandBars Namespace