Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何以编程方式从 Web 部件内(从 Web 部件所在的页面)读取自定义页面字段?
谢谢
乔恩
与非自定义字段类型相同:
CustomFieldType customField = (CustomFieldType)page.ListItem["FieldName"];
只有您转换为自定义字段类型。