ClassType
ภาพรวม
ClassType เป็นคลาสใน Aspose.3D FOSS สำหรับ .NET.
คำนิยามของคลาส .
คลาสนี้ให้ 7 เมธอดสำหรับทำงานกับวัตถุ ClassType ในโปรแกรม .NET. เมธอดที่มีรวมถึง: AddProperty, ClassType, ToString. สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้โดยแอปพลิเคชัน .NET ใดก็ได้หลังจากติดตั้งแพคเกจ Aspose.3D FOSS สำหรับ .NET. คุณสมบัติ: Description, DisplayName, Name, Properties.
คุณสมบัติ
| ชื่อ | ประเภท | การเข้าถึง | คำอธิบาย |
|---|---|---|---|
Name | string | อ่าน | รับชื่อ. |
DisplayName | string | อ่าน/เขียน | รับหรือกำหนดชื่อที่แสดงผล. |
Description | string | อ่าน/เขียน | รับหรือกำหนดคำอธิบาย. |
Properties | IList<Property> | อ่าน | รับคุณสมบัติ. |
วิธีการ
| ลายเซ็น | คำอธิบาย |
|---|---|
ClassType(name: string, displayName: string, description: string, properties: List<Property>) | เรียก ClassType(name, displayName, description, properties) บนอินสแตนซ์ ClassType นี้. |
ToString() | ยังไม่ได้ทำในรุ่น FOSS — จะโยนข้อยกเว้นขณะทำงาน. เรียก ToString บนอินสแตนซ์ ClassType นี้. |
AddProperty(name: string, type: EnumType, array: bool, count: int?) | ยังไม่ได้ทำในรุ่น FOSS — จะโยนข้อยกเว้นขณะทำงาน. เรียก AddProperty(name, type, array, count) บนอินสแตนซ์ ClassType นี้. |
AddProperty(name: string, displayName: string, description: string, type: EnumType, array: bool, count: int?) | ยังไม่ได้ทำในรุ่น FOSS — จะทำให้เกิดข้อผิดพลาดขณะรันไทม์. เรียก AddProperty(name, displayName, description, type, array, count) บนอินสแตนซ์ ClassType นี้. |
AddProperty(name: string, displayName: string, description: string, type: Type, normalized: bool, count: int?) | ยังไม่ได้ทำในรุ่น FOSS — จะทำให้เกิดข้อผิดพลาดขณะรันไทม์. เรียก AddProperty(name, displayName, description, type, normalized, count) บนอินสแตนซ์ ClassType นี้. |
AddProperty(name: string, type: Type) | ยังไม่ได้ทำในรุ่น FOSS — จะทำให้เกิดข้อผิดพลาดขณะรันไทม์. เรียก AddProperty(name, type) บนอินสแตนซ์ ClassType นี้. |
AddProperty(property: Property) | ไม่ได้ทำในรุ่น FOSS — จะโยนข้อผิดพลาดขณะทำงาน. เรียก AddProperty(property) บนอินสแตนซ์ ClassType นี้. |