SelectionContainer.ISelectionContainer.CountObjects(UInt32, UInt32) 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.
virtual int Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.CountObjects(System::UInt32 dwFlags, [Runtime::InteropServices::Out] System::UInt32 % pc) = Microsoft::VisualStudio::Shell::Interop::ISelectionContainer::CountObjects;
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
Parameters
- pc
- UInt32
A pointer to the number of items, this value is set by the method call.
Returns
Returns S_OK if the operation is successful.
Implements
Remarks
Throws an exception if dwFlags
is not ALL or SELECTED.