Click or drag to resize

CommentManagerGetComments Method

주석 반환

Namespace: VIZCore3D.NET.Manager
Assembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax
C#
public List<ReviewCommetItem> GetComments(
	int id
)

Parameters

id  Int32
리뷰 아이디(ID)

Return Value

ListReviewCommetItem
해당 리뷰에 등록된 주석 목록 반환
Example
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    int ReviewID = 1;

    List<VIZCore3D.NET.Data.ReviewCommetItem> items =
        vizcore3d.Review.Comment.GetComments(ReviewID);

    for (int i = 0; i < items.Count; i++)
    {
        VIZCore3D.NET.Data.ReviewCommetItem item = items[i];

        int no = item.No;
        int CommentID = item.CommentID;

        string title = item.Title;
        string comment = item.Comment;
        string author = item.Author;

        string createDate = item.CreateDate;
        string createDateShort = item.GetCreateDateFormatString("yyyy-MM-dd");
    }
}
See Also