WebPartManager.GetExportUrl(WebPart) 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.
Gets the relative virtual path and the query string that are part of the request when a user attempts to export a WebPart control.
public:
System::String ^ GetExportUrl(System::Web::UI::WebControls::WebParts::WebPart ^ webPart);
public string GetExportUrl (System.Web.UI.WebControls.WebParts.WebPart webPart);
member this.GetExportUrl : System.Web.UI.WebControls.WebParts.WebPart -> string
Public Function GetExportUrl (webPart As WebPart) As String
Parameters
Returns
A string that contains the relative virtual path and the query string that together form the request to export a control.
Remarks
The value returned by the GetExportUrl method is a relative virtual path to the server location of the page that contains the control, plus the appended query string value that forms the export request submitted to the server. The GetExportUrl method encodes the string before allowing the request to be submitted, to protect against malicious script attacks.
Note
For more information about securing Web Parts applications, see Securing Web Parts Pages.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기