RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ViewSheet

ViewSheet.SheetCollectionId

Property
Description:
The ID of the sheet collection this sheet is associated with.
Syntax
public ElementId SheetCollectionId { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: Assembly Sheets can't be SheetCollections. -or- When setting this property: The ElementId sheetCollectionId does not correspond to the SheetCollection.
ArgumentNullException When setting this property: A non-optional argument was null