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.
我需要使用在 AOT 中创建的数据集为在 VS 中创建的 EP 页面设置页面标题。
怎么做?
您可以通过在页面加载事件中添加以下代码来在运行时设置页面标题
ITitleProvider titleProvider = AxBaseWebPart.GetWebpart(this) as ITitleProvider;
titleProvider.Caption = "你的头衔";