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
'Declaration
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
- Item
Type: System.Object
Required. The item.
- event
Type: Microsoft.VisualStudio.VCProjectEngine.enumSccEvent
Required. The event. An enumSccEvent value.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.