ChangeExtension() публичный Метод

Changes the extension of the current file.
public ChangeExtension ( string extension, bool isReadOnly, bool isSharingEnabled ) : void
extension string the new extension
isReadOnly bool If the file should be reopened as readonly
isSharingEnabled bool If the file should share read privileges.
Результат void
Пример #1
0
 /// <summary>
 /// Changes the extension of the current file.
 /// </summary>
 /// <param name="extension">the new extension</param>
 /// <param name="isReadOnly">If the file should be reopened as readonly</param>
 /// <param name="isSharingEnabled">If the file should share read privileges.</param>
 public void ChangeExtension(string extension, bool isReadOnly, bool isSharingEnabled)
 {
     m_stream.ChangeExtension(extension, isReadOnly, isSharingEnabled);
 }