Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Declaration
Function AddEvent ( _
Name As String, _
Type As Object, _
Position As Object, _
Access As vsCMAccess _
) As VCCodeEvent
VCCodeEvent AddEvent(
string Name,
Object Type,
Object Position,
vsCMAccess Access
)
VCCodeEvent^ AddEvent(
String^ Name,
Object^ Type,
Object^ Position,
vsCMAccess Access
)
abstract AddEvent :
Name:string *
Type:Object *
Position:Object *
Access:vsCMAccess -> VCCodeEvent
function AddEvent(
Name : String,
Type : Object,
Position : Object,
Access : vsCMAccess
) : VCCodeEvent
Parameters
Name
Type: System.StringEvent name
Type
Type: System.ObjectEvent type
Position
Type: System.ObjectOptional. Default = 0. The code element after which to add the new element.
Access
Type: EnvDTE.vsCMAccessOptional. A vsCMAccess constant.
Return Value
Type: Microsoft.VisualStudio.VCCodeModel.VCCodeEvent
An object representing an event code element.
.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.