ToolBar.ToolBarButtonCollection.IList.Add(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified toolbar button to the end of the toolbar button collection.
virtual int System.Collections.IList.Add(System::Object ^ button) = System::Collections::IList::Add;
int IList.Add (object button);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (button As Object) As Integer Implements IList.Add
Parameters
- button
- Object
The ToolBarButton to be added after all existing buttons.
Returns
The zero-based index value of the ToolBarButton added to the collection.
Implements
Exceptions
button
is not a ToolBarButton.
Remarks
This member is an explicit interface member implementation. It can be used only when the ToolBar.ToolBarButtonCollection is cast to an IList interface.
Applies to
Кері байланыс
https://aka.ms/ContentUserFeedback.
Жақында қолжетімді болады: 2024 жыл бойы біз GitHub Issues жүйесін мазмұнға арналған кері байланыс механизмі ретінде біртіндеп қолданыстан шығарамыз және оны жаңа кері байланыс жүйесімен ауыстырамыз. Қосымша ақпаратты мұнда қараңыз:Жіберу және пікірді көру