共用方式為


EventManagerDirectory.ElementAdded Property

Gets the event manager directory and enables you to add or remove custom code to run when elements are added.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public ReadOnly Property ElementAdded As ElementAddedEventManager
    Get
public ElementAddedEventManager ElementAdded { get; }
public:
property ElementAddedEventManager^ ElementAdded {
    ElementAddedEventManager^ get ();
}
member ElementAdded : ElementAddedEventManager
function get ElementAdded () : ElementAddedEventManager

Property Value

Type: Microsoft.VisualStudio.Modeling.ElementAddedEventManager

.NET Framework Security

See Also

Reference

EventManagerDirectory Class

Microsoft.VisualStudio.Modeling Namespace