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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.