共用方式為


VCProjectItem Interface

A file or folder in a project.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'宣告
<GuidAttribute("8CD20819-4056-4D0B-BC19-0FD641924509")> _
Public Interface VCProjectItem
[GuidAttribute("8CD20819-4056-4D0B-BC19-0FD641924509")]
public interface VCProjectItem
[GuidAttribute(L"8CD20819-4056-4D0B-BC19-0FD641924509")]
public interface class VCProjectItem
[<GuidAttribute("8CD20819-4056-4D0B-BC19-0FD641924509")>]
type VCProjectItem =  interface end
public interface VCProjectItem

The VCProjectItem type exposes the following members.

Properties

  Name Description
Public property ItemName Gets the name of the current item in the collection.
Public property Kind Gets an enumeration indicating the type of object.
Public property Parent Gets the immediate parent object of a given object.
Public property project Gets the VCProject associated with the object.
Public property VCProjectEngine Gets a pointer to the project engine.

Top

Methods

  Name Description
Public method MatchName Matches a specified name to the name of a collection item.

Top

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace