VsaCodeItem.AddEventSource(String, String) 方法

定义

将事件源添加到代码项中。Adds an event source to the code item.

public:
 virtual void AddEventSource(System::String ^ EventSourceName, System::String ^ EventSourceType);
public void AddEventSource (string EventSourceName, string EventSourceType);
abstract member AddEventSource : string * string -> unit
override this.AddEventSource : string * string -> unit
Public Sub AddEventSource (EventSourceName As String, EventSourceType As String)

参数

EventSourceName
String

事件源的编程名称。A programmatic name of the event source.

EventSourceType
String

事件源的类型名称。The type name of the event source.

实现

适用于