IVsLiteTreeEvents.OnQueryItemVisible(UInt32, Int32) Yöntem

Tanım

Belirtilen öğenin görünür olup olmadığını denetler.

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

Parametreler

AbsIndex
UInt32

'Ndaki Sorgulanacak mutlak öğe dizinini içeren bir tamsayı.

pfVisible
Int32

Dışı Öğe görünür ise TRUE, görünür değilse FALSE döndüren Boole değeri 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

COM Imzası

Vsshell. IDL dosyasından:

HRESULT IVsLiteTreeEvents::OnQueryItemVisible(  
   [in] ULONG AbsIndex,   
   [out] BOOL *pfVisible  
);  

Şunlara uygulanır