Delen via


Comment.GetChildComments Method

Returns the direct child comments of this comment. The method wraps a copy of the list of child comments in a readonly collection.

Namespace:  Microsoft.TeamFoundation.Discussion.Client
Assembly:  Microsoft.TeamFoundation.Discussion.Client (in Microsoft.TeamFoundation.Discussion.Client.dll)

Syntax

'Declaration
Public Function GetChildComments As ReadOnlyCollection(Of Comment)
public ReadOnlyCollection<Comment> GetChildComments()
public:
ReadOnlyCollection<Comment^>^ GetChildComments()
member GetChildComments : unit -> ReadOnlyCollection<Comment> 
public function GetChildComments() : ReadOnlyCollection<Comment>

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<Comment>
Returns ReadOnlyCollection<T>.

.NET Framework Security

See Also

Reference

Comment Class

Microsoft.TeamFoundation.Discussion.Client Namespace