共用方式為


CommandBarsClass.IdsString Property

Get the IDs string. This property is deprecated.

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

Syntax

'宣告
Public Overridable ReadOnly Property IdsString ( _
    ids As Integer, _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
    Get
'用途
Dim instance As CommandBarsClass
Dim ids As Integer
Dim pbstrName As String
Dim value As Integer

value = instance.IdsString(ids, pbstrName)
public virtual int this[
    int ids,
    out string pbstrName
] { get; }
public:
virtual property int IdsString[[InAttribute] int ids, [OutAttribute] String^% pbstrName] {
    int get ([InAttribute] int ids, [OutAttribute] String^% pbstrName);
}
abstract IdsString : int
override IdsString : 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.

Implements

_CommandBars.IdsString[Int32, String%]

Remarks

Notes to Inheritors

This method should throw a DeprecatedException.

.NET Framework Security

See Also

Reference

CommandBarsClass Class

CommandBarsClass Members

Microsoft.VisualStudio.CommandBars Namespace