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

Reopens the file with different permissions.
public ChangeShareMode ( bool isReadOnly, bool isSharingEnabled ) : void
isReadOnly bool If the file should be reopened as readonly
isSharingEnabled bool If the file should share read privileges.
Результат void
Пример #1
0
 /// <summary>
 /// Reopens the file with different permissions.
 /// </summary>
 /// <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 ChangeShareMode(bool isReadOnly, bool isSharingEnabled)
 {
     m_stream.ChangeShareMode(isReadOnly, isSharingEnabled);
 }