VCCodeStruct.AddEvent Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Microsoft Internal Use Only.

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

Syntax

声明
Function AddEvent ( _
    Name As String, _
    Type As Object, _
    Position As Object, _
    Access As vsCMAccess _
) As VCCodeEvent
用法
Dim instance As VCCodeStruct
Dim Name As String
Dim Type As Object
Dim Position As Object
Dim Access As vsCMAccess
Dim returnValue As VCCodeEvent

returnValue = instance.AddEvent(Name, _
    Type, Position, Access)
VCCodeEvent AddEvent(
    string Name,
    Object Type,
    Object Position,
    vsCMAccess Access
)
VCCodeEvent^ AddEvent(
    String^ Name, 
    Object^ Type, 
    Object^ Position, 
    vsCMAccess Access
)
function AddEvent(
    Name : String, 
    Type : Object, 
    Position : Object, 
    Access : vsCMAccess
) : VCCodeEvent

Parameters

  • Access
    Type: vsCMAccess

     

Return Value

Type: Microsoft.VisualStudio.VCCodeModel.VCCodeEvent

Permissions

See Also

Reference

VCCodeStruct Interface

VCCodeStruct Members

Microsoft.VisualStudio.VCCodeModel Namespace