共用方式為


DiagramView.Site Property

Sets the site for the diagram view. This property is a passthrough to the associated DiagramClientView's site.

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

Syntax

'宣告
Public Overrides Property Site As ISite
    Get
    Set
public override ISite Site { get; set; }
public:
virtual property ISite^ Site {
    ISite^ get () override;
    void set (ISite^ value) override;
}
abstract Site : ISite with get, set
override Site : ISite with get, set
override function get Site () : ISite
override function set Site (value : ISite)

Property Value

Type: System.ComponentModel.ISite

Implements

IComponent.Site
IComponent.Site

.NET Framework Security

See Also

Reference

DiagramView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace