共用方式為


IVCProjectEngineEvents.SccEvent Method

Signifies that a source code control event has occurred.

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

Syntax

'宣告
Function SccEvent ( _
    Item As Object, _
    event As enumSccEvent _
) As Boolean
bool SccEvent(
    Object Item,
    enumSccEvent event
)
bool SccEvent(
    Object^ Item, 
    enumSccEvent event
)
abstract SccEvent : 
        Item:Object * 
        event:enumSccEvent -> bool 
function SccEvent(
    Item : Object, 
    event : enumSccEvent
) : boolean

Parameters

Return Value

Type: System.Boolean
true if changes can be made; otherwise, false.

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.

.NET Framework Security

See Also

Reference

IVCProjectEngineEvents Interface

Microsoft.VisualStudio.VCProjectEngine Namespace