Aracılığıyla paylaş


ModelingWindowPane.CountObjects Yöntem

Pencere bölmesinde veya seçilen öğelerin sayısını sayar.

Ad alanı:  Microsoft.VisualStudio.Modeling.Shell
Derleme:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll içinde)

Sözdizimi

'Bildirim
Public Function CountObjects ( _
    flags As UInteger, _
    <OutAttribute> ByRef count As UInteger _
) As Integer
public int CountObjects(
    uint flags,
    out uint count
)

Parametreler

  • count
    Tür: System.UInt32%
    [Çıkış] Saymak için öğe sayısı.

Dönüş Değeri

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

Yüklenen

ISelectionContainer.CountObjects(UInt32, UInt32%)

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ModelingWindowPane Sınıf

Microsoft.VisualStudio.Modeling.Shell Ad Alanı