Compartilhar via


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

'Declaration
Public Overridable ReadOnly Property IdsString ( _
    ids As Integer, _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
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 : 
        ids:int * 
        pbstrName:string byref -> int with get 
override IdsString : 
        ids:int * 
        pbstrName:string byref -> int with get
JScript does not support indexed properties.

Parameters

  • ids
    Type: Int32

    The IDs.

  • 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.IdsString

Remarks

Notes to Inheritors

This method should throw a DeprecatedException.

.NET Framework Security

See Also

Reference

CommandBarsClass Class

Microsoft.VisualStudio.CommandBars Namespace