WebPartTransformer.Transform(Object) Method
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.
When implemented, provides an object for transforming the data.
public:
abstract System::Object ^ Transform(System::Object ^ providerData);
public abstract object Transform (object providerData);
abstract member Transform : obj -> obj
Public MustOverride Function Transform (providerData As Object) As Object
- providerData
- Object
The provider data to be transformed.
An Object representing the data to be transformed.
The following code example demonstrates how to override the Transform method in a customized WebPartTransformer class. It is part of a larger example found in the WebPartTransformer class overview.
public override object Transform(object providerData)
{
_provider = (IWebPartRow)providerData;
return this;
}
Public Overrides Function Transform(ByVal providerData As Object) As Object
_provider = CType(providerData, IWebPartRow)
Return Me
End Function
You must override this method when implementing the WebPartTransformer class.
Προϊόν | Εκδόσεις |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: