Cosmos/source2/VSIP/MPF/9.0/Src/CSharp/Automation/OAFolderItem.cs
kudzu_cp 7003fe2c9e
2009-05-28 14:33:45 +00:00

44 lines
984 B
C#

/// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using EnvDTE;
namespace Microsoft.VisualStudio.Project.Automation
{
/// <summary>
/// Represents an automation object for a folder in a project
/// </summary>
[SuppressMessage("Microsoft.Interoperability", "CA1405:ComVisibleTypeBaseTypesShouldBeComVisible")]
[ComVisible(true), CLSCompliant(false)]
public class OAFolderItem : OAProjectItem<FolderNode>
{
#region ctors
public OAFolderItem(OAProject project, FolderNode node)
: base(project, node)
{
}
#endregion
#region overridden methods
public override ProjectItems Collection
{
get
{
ProjectItems items = new OAProjectItems(this.Project, this.Node);
return items;
}
}
public override ProjectItems ProjectItems
{
get
{
return this.Collection;
}
}
#endregion
}
}