ArcObjects Library Reference (GeoDatabase)  

IXmlPropertySet2.SaveAsFile Method

Transforms the metadata using an XSL stylesheet if specified, writes out the header if specified, and saves it in a file.

[Visual Basic .NET]
Public Sub SaveAsFile ( _
    ByVal xslPath As String, _
    ByVal header As String, _
    ByVal outputANSI As Boolean, _
    ByRef outPath As String _
)
[C#]
public void SaveAsFile (
    string xslPath,
    string header,
    bool outputANSI,
    ref string outPath
);
[C++]
HRESULT SaveAsFile(
  BSTR xslPath,
  BSTR header,
  VARIANT_BOOL outputANSI,
  BSTR* outPath
);
[C++]

Parameters

xslPath [in]   xslPath is a parameter of type BSTR header [in]   header is a parameter of type BSTR outputANSI [in]   outputANSI is a parameter of type VARIANT_BOOL outPath [in, out]   outPath is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Documentation for this property can be found at the IXmlPropertySet::SaveAsFile description.

See Also

IXmlPropertySet2 Interface