共用方式為


VCUserMacro Interface

Gives access to user defined macros.

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

Syntax

'宣告
<GuidAttribute("2AE191A2-8119-42D7-AD68-A290ADA16B3F")> _
Public Interface VCUserMacro
[GuidAttribute("2AE191A2-8119-42D7-AD68-A290ADA16B3F")]
public interface VCUserMacro
[GuidAttribute(L"2AE191A2-8119-42D7-AD68-A290ADA16B3F")]
public interface class VCUserMacro
[<GuidAttribute("2AE191A2-8119-42D7-AD68-A290ADA16B3F")>]
type VCUserMacro =  interface end
public interface VCUserMacro

The VCUserMacro type exposes the following members.

Properties

  Name Description
Public property Delimiter Sets or gets the delimiter separating macros.
Public property InheritsFromParent Gets or sets whether a user macro inherits values from its parent.
Public property Name Gets the name of the user macro.
Public property PerformEnvironmentSet Sets of gets whether the macro is set within the environment.
Public property PropertySheet Gets the property sheet contining the user macro.
Public property Value Sets or gets the string replacement for the user macro.

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