본문으로 건너뛰기

GetComments

Overloads

NameDescription
GetComments(int id)주석 반환

GetComments(int id)

public List<ReviewCommetItem> GetComments(int id)

주석 반환

Parameters

NameTypeDescription
idint리뷰 아이디(ID)

Returns

TypeDescription
List<ReviewCommetItem>해당 리뷰에 등록된 주석 목록 반환

Examples

// 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");
}
}