共用方式為


IVCProjectEngineEvents.SccEvent(Object, enumSccEvent) Method

Definition

Signifies that a source code control event has occurred.

public:
 bool SccEvent(System::Object ^ Item, Microsoft::VisualStudio::VCProjectEngine::enumSccEvent event);
public:
 bool SccEvent(Platform::Object ^ Item, Microsoft::VisualStudio::VCProjectEngine::enumSccEvent event);
bool SccEvent(winrt::Windows::Foundation::IInspectable const & Item, Microsoft::VisualStudio::VCProjectEngine::enumSccEvent event);
[System.Runtime.InteropServices.DispId(280)]
public bool SccEvent (object Item, Microsoft.VisualStudio.VCProjectEngine.enumSccEvent event);
[<System.Runtime.InteropServices.DispId(280)>]
abstract member SccEvent : obj * Microsoft.VisualStudio.VCProjectEngine.enumSccEvent -> bool
Public Function SccEvent (Item As Object, event As enumSccEvent) As Boolean

Parameters

Item
Object

Required. The item.

event
enumSccEvent

Required. The event. An enumSccEvent value.

Returns

true if changes can be made; otherwise, false.

Attributes

Remarks

The SccEvent method can be used to catch, allow changing of project file settings, or disallow changing of project file settings. It can also be used when integrating your own source code system into Visual Studio.

Applies to