WebPartManagerInternals.SetTransformer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns a WebPartTransformer object to be used in a connection between two server controls.
public:
void SetTransformer(System::Web::UI::WebControls::WebParts::WebPartConnection ^ connection, System::Web::UI::WebControls::WebParts::WebPartTransformer ^ transformer);
public void SetTransformer (System.Web.UI.WebControls.WebParts.WebPartConnection connection, System.Web.UI.WebControls.WebParts.WebPartTransformer transformer);
member this.SetTransformer : System.Web.UI.WebControls.WebParts.WebPartConnection * System.Web.UI.WebControls.WebParts.WebPartTransformer -> unit
Public Sub SetTransformer (connection As WebPartConnection, transformer As WebPartTransformer)
Parameters
- connection
- WebPartConnection
A WebPartConnection that creates a connection between server controls.
- transformer
- WebPartTransformer
A WebPartTransformer to be used with connection
.
Remarks
When a connection between two server controls requires a transformer so that the consumer control can interpret data from the provider control, the SetTransformer method is called to supply a specific WebPartTransformer object to the WebPartConnection object. If the connection already has a transformer assigned to it, the object referenced by the transformer
parameter overrides the existing one; otherwise, the object referenced in the transformer
parameter is used.
The WebPartManager control uses the SetTransformer method whenever you call the ConnectWebParts method to establish a connection that requires a transformer.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기