ภาพรวม
MapiProperty แสดงถึงการใส่คุณสมบัติ MAPI เพียงรายเดียว: การรวม ID ของคุณภาพ 16 บิต, รหัสชนิดของคุณสิทธิ์ 16 วิต, ค่าและป้ายเสนอทางเลือก. PropertyTag รวม ID ของ Properties และ type เป็น MAPI tag 32 บิต. ใช้ MapiPropertyCollection.Get เพื่อค้นหาอสังหาริมทรัพย์ตามรหัสและประเภท หรือ MapiMessage.SetProperty เพื่อตั้ง 1 .
ผู้ประกอบการ
| Signature | คําอธิบาย |
|---|
MapiProperty(propertyId: ushort, propertyType: ushort, value: object?, flags: uint) | สร้างระบบใหม่ MapiProperty ด้วยปารามีเตอร์ที่กําหนดไว้. |
คุณสมบัติ
| ชื่อ | ประเภท | Access | คําอธิบาย |
|---|
PropertyId | ushort | อ่าน | 16-bit MAPI property identifier (the high 16 bits of the property tag). |
PropertyType | ushort | อ่าน | 16-bit MAPI property type code (the low 16 bits of the property tag). |
Value | object? | อ่าน | ค่าของทรัพย์สินที่ถูกเปิดรหัส; ประเภทขึ้นอยู่กับ PropertyType (string, int, byte[], DateTime เป็นต้น). |
Flags | uint | อ่าน | เหรียญทรัพย์สิน bitmask ควบคุมหลายค่า, อ่านเท่านั้น และคุณสมบัติทางพฤติกรรมอื่น ๆ. |
PropertyTag | uint | อ่าน | แท็กความเป็นของ MAPI 32 บิตรวม: 16 บิตสูง = PropertyId, ต่ํา 16 ไบต =PropertyType. |
ดูเช่นกัน