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 |
public void ChangeShareMode(bool isReadOnly, bool isSharingEnabled)
{
m_disk.ChangeShareMode(isReadOnly, isSharingEnabled);
}
/// <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); }