Class NoteTask

Class NoteTask

名称: Aspose.Note 合計: Aspose.Note.dll (25.4.0)

ノートタスクを表しています。

public sealed class NoteTask : CheckBox, ITag, IEquatable<notetask>

Inheritance

object CheckBox NoteTask

Implements

ITag , IEquatable

相続人

CheckBox.SetCompleted(DateTime) , CheckBox.SetCompleted() , CheckBox.SetOpen() , CheckBox.CreationTime , CheckBox.CompletedTime , CheckBox.Status , CheckBox.Icon , CheckBox.Label , CheckBox.Checked , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

「プロジェクトA」に関連するすべてのページを含むPDFを作成する方法を示します。

// The path to the documents directory.
                                                                                   string dataDir = RunExamples.GetDataDir_Tags();

                                                                                   // Load the document into Aspose.Note.
                                                                                   var oneFile = new Document(Path.Combine(dataDir, "ProjectNotes.one"));

                                                                                   var report = new Document();
                                                                                   foreach (var page in oneFile)
                                                                                   {
                                                                                       if (page.GetChildNodes<itaggable>().Any(e =&gt; e.Tags.Any(x =&gt; x.Label.Contains("Project A"))))
                                                                                       {
                                                                                           report.AppendChildLast(page.Clone());
                                                                                       }
                                                                                   }

                                                                                   report.Save(Path.Combine(dataDir, "ProjectA_Report.pdf"));</itaggable>

Outlook のタスクの詳細にアクセスする方法を示します。

// The path to the documents directory.
                                                          string dataDir = RunExamples.GetDataDir_Tasks();

                                                          // Load the document into Aspose.Note.
                                                          Document oneFile = new Document(dataDir + "Aspose.one");

                                                          // Get all RichText nodes
                                                          IList<richtext> nodes = oneFile.GetChildNodes<richtext>();

                                                          // Iterate through each node
                                                          foreach (RichText richText in nodes)
                                                          {
                                                              var tasks = richText.Tags.OfType<notetask>();
                                                              if (tasks.Any())
                                                              {
                                                                  Console.WriteLine($"Task: {richText.Text}");
                                                                  foreach (var noteTask in tasks)
                                                                  {
                                                                      // Retrieve properties
                                                                      Console.WriteLine($"    Completed Time: {noteTask.CompletedTime}");
                                                                      Console.WriteLine($"    Create Time: {noteTask.CreationTime}");
                                                                      Console.WriteLine($"    Due Date: {noteTask.DueDate}");
                                                                      Console.WriteLine($"    Status: {noteTask.Status}");
                                                                      Console.WriteLine($"    Icon: {noteTask.Icon}");
                                                                  }
                                                              }
                                                          }</notetask></richtext></richtext>

Properties

DueDate

受付または適切な日付を設定します。

public DateTime DueDate { get; set; }

不動産価値

DateTime

Examples

「プロジェクトA」に関連するすべてのページを含むPDFを作成する方法を示します。

// The path to the documents directory.
                                                                                   string dataDir = RunExamples.GetDataDir_Tags();

                                                                                   // Load the document into Aspose.Note.
                                                                                   var oneFile = new Document(Path.Combine(dataDir, "ProjectNotes.one"));

                                                                                   var report = new Document();
                                                                                   foreach (var page in oneFile)
                                                                                   {
                                                                                       if (page.GetChildNodes<itaggable>().Any(e =&gt; e.Tags.Any(x =&gt; x.Label.Contains("Project A"))))
                                                                                       {
                                                                                           report.AppendChildLast(page.Clone());
                                                                                       }
                                                                                   }

                                                                                   report.Save(Path.Combine(dataDir, "ProjectA_Report.pdf"));</itaggable>

Outlook のタスクの詳細にアクセスする方法を示します。

// The path to the documents directory.
                                                          string dataDir = RunExamples.GetDataDir_Tasks();

                                                          // Load the document into Aspose.Note.
                                                          Document oneFile = new Document(dataDir + "Aspose.one");

                                                          // Get all RichText nodes
                                                          IList<richtext> nodes = oneFile.GetChildNodes<richtext>();

                                                          // Iterate through each node
                                                          foreach (RichText richText in nodes)
                                                          {
                                                              var tasks = richText.Tags.OfType<notetask>();
                                                              if (tasks.Any())
                                                              {
                                                                  Console.WriteLine($"Task: {richText.Text}");
                                                                  foreach (var noteTask in tasks)
                                                                  {
                                                                      // Retrieve properties
                                                                      Console.WriteLine($"    Completed Time: {noteTask.CompletedTime}");
                                                                      Console.WriteLine($"    Create Time: {noteTask.CreationTime}");
                                                                      Console.WriteLine($"    Due Date: {noteTask.DueDate}");
                                                                      Console.WriteLine($"    Status: {noteTask.Status}");
                                                                      Console.WriteLine($"    Icon: {noteTask.Icon}");
                                                                  }
                                                              }
                                                          }</notetask></richtext></richtext>

Icon

アイコンを入力または設定します。

public override TagIcon Icon { get; }

不動産価値

TagIcon

Methods

CreateCustomFollowUpDate(DateTime)

NoFollowUpDateFlag アイコンと指定された日付で新しいノートタスクを作成します。

public static NoteTask CreateCustomFollowUpDate(DateTime dueDate)

Parameters

dueDate DateTime

二度目の日付。

Returns

NoteTask

_WL31 _ ノートタスク

CreateFollowUpNextWeek()

FollowUpNextWeekFlag アイコンで新しいノートタスクを作成します。

public static NoteTask CreateFollowUpNextWeek()

Returns

NoteTask

_WL31 _ ノートタスク

CreateFollowUpThisWeek()

FollowUpThisWeekFlag アイコンで新しいノートタスクを作成します。

public static NoteTask CreateFollowUpThisWeek()

Returns

NoteTask

_WL31 _ ノートタスク

CreateFollowUpToday()

FollowUpTodayFlag アイコンで新しいノートタスクを作成します。

public static NoteTask CreateFollowUpToday()

Returns

NoteTask

_WL31 _ ノートタスク

CreateFollowUpTomorrow()

FollowUpTomorrowFlag アイコンで新しいノートタスクを作成します。

public static NoteTask CreateFollowUpTomorrow()

Returns

NoteTask

_WL31 _ ノートタスク

CreateNoFollowUpDate()

NoFollowUpDateFlag アイコンで新しいノートタスクを作成します。

public static NoteTask CreateNoFollowUpDate()

Returns

NoteTask

_WL31 _ ノートタスク

Equals(対象)

指定されたオブジェクトが現在のオブジェクトに等しいかどうかを決定する。

public override bool Equals(object obj)

Parameters

obj object

オブジェクト

Returns

bool

システム・ボーレーン

Equals(NoteTask)

指定されたオブジェクトが現在のオブジェクトに等しいかどうかを決定する。

public bool Equals(NoteTask other)

Parameters

other NoteTask

オブジェクト

Returns

bool

システム・ボーレーン

GetHashCode()

タイプのハッシュ機能として機能します。

public override int GetHashCode()

Returns

int

システム・インテル32

SetOpen()

タグをオープンステータスに設定します。

public override void SetOpen()

 日本語