在提供者建構地理物件時引發。
命名空間: System.Spatial
組件: System.Spatial (在 System.Spatial.dll 中)
語法
'宣告
Event ProduceGeography As Action(Of Geography)
'用途
Dim instance As IGeographyProvider
Dim handler As Action(Of Geography)
AddHandler instance.ProduceGeography, handler
event Action<Geography> ProduceGeography
event Action<Geography^>^ ProduceGeography {
void add (Action<Geography^>^ value);
void remove (Action<Geography^>^ value);
}
abstract ProduceGeography : IEvent<Action<Geography>,
EventArgs>
JScript 支援使用事件,但不支援新的宣告。