_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
- tmc
Type: System.Int32
Reserved. Set to 0.
- pbstrName
Type: System.String%
The name.
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
- 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.