OpenOptions
Description:
This class contains options available for opening a document from disk.
This class contains options available for opening a document from disk.
public class OpenOptions : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| OpenOptions() | None | Constructs a new instance of the options class using default values. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the OpenOptions | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetOpenWorksetsConfiguration() | WorksetConfiguration | Gets the object used to configure the worksets to open when the model is opened. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| SetOpenWorksetsConfiguration(WorksetConfiguration) | None | Sets the object used to configure the worksets to open when the model is opened. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AllowOpeningLocalByWrongUser | bool | Specifies whether a local file is allowed to be opened as read-only by a user other than its owner. | |
| Audit | bool | Specifies whether to expand all elements in order to check for corruption. | |
| DetachFromCentralOption | DetachFromCentralOption | An option that specifies whether or not a workset-enabled document is detached from its central document. | |
| IgnoreExtensibleStorageSchemaConflict | bool | Specifies whether to ignore the error of schema conflict. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| OpenForeignOption | OpenForeignOption | An option that specifies how to open files saved by an application that was not developed or licensed by Autodesk. |