Extensions.CreateComment Method (ILayerContainer, String)
Create a comment.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
public static ILayerComment CreateComment(
this ILayerContainer parent,
string body
)
public:
[ExtensionAttribute]
static ILayerComment^ CreateComment(
ILayerContainer^ parent,
String^ body
)
static member CreateComment :
parent:ILayerContainer *
body:string -> ILayerComment
<ExtensionAttribute>
Public Shared Function CreateComment (
parent As ILayerContainer,
body As String
) As ILayerComment
Parameters
parent
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerContainerThe parent container, either an ILayer or an ILayerModel.
body
Type: System.StringThe comment text.
Return Value
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerComment
The new comment.
See Also
CreateCommentLink
CreateComment Overload
Extensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace
Return to top