Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Public ReadOnly Property Component As IComponent
'使用
Dim instance As VSDiagramViewSite
Dim value As IComponent
value = instance.Component
public IComponent Component { get; }
public:
virtual property IComponent^ Component {
IComponent^ get () sealed;
}
public final function get Component () : IComponent
Property Value
Type: System.ComponentModel.IComponent
Implements
Permissions
- 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.