OAProjectItem<T>.Collection Property

Gets the collection of project items to which this item belongs.

Namespace:  Microsoft.VisualStudio.Package.Automation
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable ReadOnly Property Collection As ProjectItems
'使用
Dim instance As OAProjectItem
Dim value As ProjectItems

value = instance.Collection
public virtual ProjectItems Collection { get; }
public:
virtual property ProjectItems^ Collection {
    ProjectItems^ get ();
}
public function get Collection () : ProjectItems

Property Value

Type: ProjectItems

ProjectItems if the parent node is a folder or a file that has sub-files; otherwise throws NotImplementedException.

Implements

ProjectItemCollection()

Permissions

See Also

Reference

OAProjectItem<T> Class

OAProjectItem<T> Members

Microsoft.VisualStudio.Package.Automation Namespace