Class TemplateData
Class TemplateData
Namespace: Aspose.Html.Converters
Assembly: Aspose.HTML.dll (25.1.0)
Merging (User) data object.
[ComVisible(true)]
public sealed class TemplateData
Kế thừa
Các thành viên kế thừa
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Các hàm khởi tạo
TemplateData(TemplateContentOptions)
Nội dung nội tuyến dựa trên khởi tạo (XML, JSON).
public TemplateData(TemplateContentOptions contentOptions)
Tham số
contentOptions
TemplateContentOptions
Đối tượng mô tả nội dung.
TemplateData(string)
Đường dẫn tuyệt đối đến tệp dữ liệu (XML, JSON) dựa trên khởi tạo.
public TemplateData(string dataPath)
Tham số
dataPath
string
Đường dẫn đến tệp dữ liệu (XML, JSON)
Thuộc tính
ContentOptions
Thuộc tính đối tượng nội dung.
public TemplateContentOptions ContentOptions { get; }
Giá trị thuộc tính
DataPath
Thuộc tính đường dẫn dữ liệu.
public string DataPath { get; }