IVsMultiItemSelect.GetSelectionInfo(UInt32, Int32) Yöntem

Tanım

Seçili öğelerin bir veya daha fazla hiyerarşilere ait olup olmadığını ve seçilen öğe sayısının sayısını gösteren bir bayrak döndürür.

public:
 int GetSelectionInfo([Runtime::InteropServices::Out] System::UInt32 % pcItems, [Runtime::InteropServices::Out] int % pfSingleHierarchy);
int GetSelectionInfo([Runtime::InteropServices::Out] unsigned int & pcItems, [Runtime::InteropServices::Out] int & pfSingleHierarchy);
public int GetSelectionInfo (out uint pcItems, out int pfSingleHierarchy);
abstract member GetSelectionInfo : uint32 * int -> int
Public Function GetSelectionInfo (ByRef pcItems As UInteger, ByRef pfSingleHierarchy As Integer) As Integer

Parametreler

pcItems
UInt32

dışı Seçilen öğe sayısı için bir sayı işaretçisi.

pfSingleHierarchy
Int32

dışı true Seçili öğeler tek bir hiyerarşi içindeyse ve false Seçilen öğeler birden çok hiyerarşide ise olarak ayarlanan bayrak işaretçisi.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

C++  
From vsshell.idl:  
HRESULT IVsMultiItemSelect::GetSelectionInfo(  
   [out] ULONG *pcItems,  
   [out] BOOL *pfSingleHierarchy  
);  

Şunlara uygulanır