IWebPartVariationUpdate.Update-Methode
Aktualisiert alle Eigenschaften innerhalb eines Webparts-Steuerelements, die den Speicherort der Seite in der Hierarchie abhängig sind.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Sub Update ( _
ownerWeb As PublishingWeb _
)
'Usage
Dim instance As IWebPartVariationUpdate
Dim ownerWeb As PublishingWeb
instance.Update(ownerWeb)
void Update(
PublishingWeb ownerWeb
)
Parameter
ownerWeb
Typ: Microsoft.SharePoint.Publishing.PublishingWebBesitzer der PublishingWeb
Beispiele
String oldAnchor = this.WebAnchorLocation;
//"this" is a Web Part class
this.WebAnchorLocation = ownerWeb.GetVariationUrlFromSourceUrl(oldAnchor);
Dim oldAnchor As String = Me.WebAnchorLocation
'"this" is a Web Part class
Me.WebAnchorLocation = ownerWeb.GetVariationUrlFromSourceUrl(oldAnchor)
Siehe auch
Referenz
IWebPartVariationUpdate Schnittstelle