VCCodeStruct::AddEvent Method (String^, Object^, Object^, vsCMAccess)
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
VCCodeEvent^ AddEvent( String^ Name, Object^ Type, Object^ Position, vsCMAccess Access = vsCMAccess::vsCMAccessDefault )
Parameters
- Name
-
Type:
System::String^
Event name
- Type
-
Type:
System::Object^
Event type
- Position
-
Type:
System::Object^
Optional. Default = 0. The code element after which to add the new element.
- Access
-
Type:
EnvDTE::vsCMAccess
Optional. A vsCMAccess constant.
Return Value
Type: Microsoft.VisualStudio.VCCodeModel::VCCodeEvent^An object representing an event code element.
Show: