MetadataObject.WriteXml Method (PackageContents)
Returns the XML representation of the MetadataObject.
Namespace: Microsoft.SharePoint.BusinessData.Administration.Client
Assembly: Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)
Syntax
'Declaration
Public Overridable Function WriteXml ( _
packageContents As PackageContents _
) As String
'Usage
Dim instance As MetadataObject
Dim packageContents As PackageContents
Dim returnValue As String
returnValue = instance.WriteXml(packageContents)
public virtual string WriteXml(
PackageContents packageContents
)
Parameters
packageContents
Type: Microsoft.SharePoint.BusinessData.Administration.Client.Parser.PackageContentsOptions that specify which elements to include in the generated XML.
Return Value
Type: System.String
The XML representation of the MetadataObject,
See Also
Reference
Microsoft.SharePoint.BusinessData.Administration.Client Namespace