共用方式為


CommentShapeTypeDescriptor Constructor (ICustomTypeDescriptor, PresentationElement, ModelElement)

Note: This API is now obsolete.

Creates a new CommentShapeTypeDescriptor.

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

Syntax

'宣告
<ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, CommentShape) constructor instead.",  _
    True)> _
Public Sub New ( _
    parent As ICustomTypeDescriptor, _
    presentationElement As PresentationElement, _
    element As ModelElement _
)
[ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, CommentShape) constructor instead.", 
    true)]
public CommentShapeTypeDescriptor(
    ICustomTypeDescriptor parent,
    PresentationElement presentationElement,
    ModelElement element
)
[ObsoleteAttribute(L"This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, CommentShape) constructor instead.", 
    true)]
public:
CommentShapeTypeDescriptor(
    ICustomTypeDescriptor^ parent, 
    PresentationElement^ presentationElement, 
    ModelElement^ element
)
[<ObsoleteAttribute("This method is redundant and may be removed in a later version. Use the alternative (ICustomTypeDescriptor, CommentShape) constructor instead.", 
    true)>]
new : 
        parent:ICustomTypeDescriptor * 
        presentationElement:PresentationElement * 
        element:ModelElement -> CommentShapeTypeDescriptor
public function CommentShapeTypeDescriptor(
    parent : ICustomTypeDescriptor, 
    presentationElement : PresentationElement, 
    element : ModelElement
)

Parameters

.NET Framework Security

See Also

Reference

CommentShapeTypeDescriptor Class

CommentShapeTypeDescriptor Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace