SelectedItems.SelectionContainer Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
SelectionContainerSeçili öğeleri barındıran tasarımcıyı temsil eden bir nesne alır.
public:
property EnvDTE::SelectionContainer ^ SelectionContainer { EnvDTE::SelectionContainer ^ get(); };
[System.Runtime.InteropServices.DispId(5)]
public EnvDTE.SelectionContainer SelectionContainer { [System.Runtime.InteropServices.DispId(5)] get; }
[<System.Runtime.InteropServices.DispId(5)>]
[<get: System.Runtime.InteropServices.DispId(5)>]
member this.SelectionContainer : EnvDTE.SelectionContainer
Public ReadOnly Property SelectionContainer As SelectionContainer
Özellik Değeri
Bir SelectionContainer nesnesi.
- Öznitelikler
Örnekler
Sub SelectionContainerExample()
Dim SelContain As SelectionContainer
Dim ContainerItem As SelectedItem
' Set references to the selection container and its selected item.
SelContain = DTE.SelectedItems.SelectionContainer
ContainerItem = DTE.SelectedItems.Item(1)
' Print the name of the container of the selected item.
MsgBox(ContainerItem.Name)
End Sub
Açıklamalar
SelectionContainer bir nesne koleksiyonunu veya daha ayrıntılı bir şekilde döndürür Project ProjectItem .