共用方式為


IVsMSBuildHostObject Interface

Enables the project system to communicate with MSBuild host objects.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("45F31264-BACD-45A9-AE64-036120C52582")> _
Public Interface IVsMSBuildHostObject
'用途
Dim instance As IVsMSBuildHostObject
[InterfaceTypeAttribute()]
[GuidAttribute("45F31264-BACD-45A9-AE64-036120C52582")]
public interface IVsMSBuildHostObject
[InterfaceTypeAttribute()]
[GuidAttribute(L"45F31264-BACD-45A9-AE64-036120C52582")]
public interface class IVsMSBuildHostObject
[<InterfaceTypeAttribute()>]
[<GuidAttribute("45F31264-BACD-45A9-AE64-036120C52582")>]
type IVsMSBuildHostObject =  interface end
public interface IVsMSBuildHostObject

Remarks

This is an interface for the project system to communicate with MSBuild host objects specified by the registry (under the local Projects\<project type GUID>\MSBuildHostObjects key). The Init and Close methods are called for each host object by the project system.

See also HostObject.

See Also

Reference

IVsMSBuildHostObject Members

Microsoft.VisualStudio.Shell.Interop Namespace