Click or drag to resize

SectionManagerGetComments Method

주석 반환

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public List<SectionCommetItem> GetComments(
	int id,
	int subid
)

Parameters

id
Type: SystemInt32
단면 아이디(ID)
subid
Type: SystemInt32
단면 서브 아이디(ID)

Return Value

Type: ListSectionCommetItem
해당 단면에 등록된 주석 목록 반환
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
    int ReviewID = 1;

    List<VIZCore3D.NET.Data.SectionCommetItem> items =
        vizcore3d.Section.GetComments(ReviewID);

    for (int i = 0; i < items.Count; i++)
    {
        VIZCore3D.NET.Data.SectionCommetItem 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