SelectionContainer.ISelectionContainer.CountObjects(UInt32, UInt32) Method
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.
virtual int Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.CountObjects(System::UInt32 dwFlags, [Runtime::InteropServices::Out] System::UInt32 % pc) = Microsoft::VisualStudio::Shell::Interop::ISelectionContainer::CountObjects;
C++/WinRT
int Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.CountObjects(unsigned int dwFlags, [Runtime::InteropServices::Out] unsigned int & pc);
int ISelectionContainer.CountObjects(uint dwFlags, out uint pc);
abstract member Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.CountObjects : uint32 * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.CountObjects : uint32 * uint32 -> int
Function CountObjects (dwFlags As UInteger, ByRef pc As UInteger) As Integer Implements ISelectionContainer.CountObjects
- pc
- UInt32
A pointer to the number of items, this value is set by the method call.
Returns S_OK if the operation is successful.
Throws an exception if dwFlags
is not ALL or SELECTED.
製品 | バージョン |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |