API Reference > Other Classes > OdStreamBuf Class > OdStreamBuf Methods > OdStreamBuf::getShareMode Method
OdStreamBuf::getShareMode Method
Syntax
C++
virtual OdUInt32 getShareMode();

Returns the share mode for this StreamBuf object.

getShareMode returns one of the following: 

 

Name 
Value 
Description 
Oda::kShareDenyReadWrite 
0x10 
deny read/write mode 
Oda::kShareDenyWrite 
0x20 
deny write mode 
Oda::kShareDenyRead 
0x30 
deny read mode 
Oda::kShareDenyNo 
0x40 
deny none mode 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.