Represents an item in the project (file, folder, or reference).
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
<CLSCompliantAttribute(False)> _
<ComVisibleAttribute(True)> _
Public Class OAProjectItem(Of T As HierarchyNode) _
Implements ProjectItem
'使用
Dim instance As OAProjectItem(Of T)
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
public class OAProjectItem<T> : ProjectItem where T : HierarchyNode
[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
generic<typename T>
where T : HierarchyNode
public ref class OAProjectItem : ProjectItem
JScript does not support generic types or methods.
Type Parameters
- T
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Package.Automation.OAProjectItem<T>
Microsoft.VisualStudio.Package.Automation.OAFileItem
Microsoft.VisualStudio.Package.Automation.OAFolderItem
Microsoft.VisualStudio.Package.Automation.OANestedProjectItem
Microsoft.VisualStudio.Package.Automation.OAReferenceFolderItem
Microsoft.VisualStudio.Package.Automation.OAReferenceItem
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.