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
- ids
Type: System.Int32
The IDs.
- pbstrName
Type: System.String%
[out] The name.
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
- 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.