> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface IProjectDocument

Namespace: [VM.Models](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models)\
Assembly: VM.Models.Project.dll

```csharp theme={null}
public interface IProjectDocument : IProjectObject, IHasID, IHasName, IDisposableObject
```

#### Implements

[IProjectObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectObject.md),
IHasID,
IHasName,
IDisposableObject

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Properties

### Items

```csharp theme={null}
IEnumerable<IScenario> Items { get; }
```

#### Property Value

IEnumerable\<[IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)>

### RootPath

```csharp theme={null}
string RootPath { get; }
```

#### Property Value

string

### ScenarioCount

```csharp theme={null}
int ScenarioCount { get; }
```

#### Property Value

int

### this\[Identifier]

```csharp theme={null}
IScenario this[Identifier identifier] { get; }
```

#### Property Value

[IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

### this\[int]

```csharp theme={null}
IScenario this[int index] { get; }
```

#### Property Value

[IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

## Methods

### Add(IScenario)

```csharp theme={null}
void Add(IScenario item)
```

#### Parameters

`item` [IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

### CanRegisterID(Identifier)

```csharp theme={null}
bool CanRegisterID(Identifier identifier)
```

#### Parameters

`identifier` Identifier

#### Returns

bool

### CanRegisterName(string)

```csharp theme={null}
bool CanRegisterName(string name)
```

#### Parameters

`name` string

#### Returns

bool

### Contains(IScenario)

```csharp theme={null}
bool Contains(IScenario item)
```

#### Parameters

`item` [IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

#### Returns

bool

### ContainsID(Identifier)

```csharp theme={null}
bool ContainsID(Identifier identifier)
```

#### Parameters

`identifier` Identifier

#### Returns

bool

### ContainsName(IProjectObject)

```csharp theme={null}
bool ContainsName(IProjectObject item)
```

#### Parameters

`item` [IProjectObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectObject.md)

#### Returns

bool

### RegisterID(IProjectObject)

```csharp theme={null}
void RegisterID(IProjectObject item)
```

#### Parameters

`item` [IProjectObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectObject.md)

### RegisterName(IScenario)

```csharp theme={null}
void RegisterName(IScenario item)
```

#### Parameters

`item` [IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

### Remove(IScenario)

```csharp theme={null}
void Remove(IScenario item)
```

#### Parameters

`item` [IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

### Save()

```csharp theme={null}
void Save()
```

### TryGetValue(Identifier, out IScenario)

```csharp theme={null}
bool TryGetValue(Identifier identifier, out IScenario scenario)
```

#### Parameters

`identifier` Identifier

`scenario` [IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

#### Returns

bool

### TryGetValue(string, out IScenario)

```csharp theme={null}
bool TryGetValue(string name, out IScenario scenario)
```

#### Parameters

`name` string

`scenario` [IScenario](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IScenario.md)

#### Returns

bool

### UnregisterID(IProjectObject)

```csharp theme={null}
void UnregisterID(IProjectObject item)
```

#### Parameters

`item` [IProjectObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectObject.md)

### UnregisterName(IProjectObject)

```csharp theme={null}
void UnregisterName(IProjectObject item)
```

#### Parameters

`item` [IProjectObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.IProjectObject.md)
