Click or drag to resize
DocumentTypeScopeClassInfoProviderAddClassToScope Method

Note: This API is now obsolete.

Adds document type to scope.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IDocumentTypeScopeClassInfoProvider.Add(int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - DocumentTypeScopeClassInfo.Provider.")]
public static void AddClassToScope(
	int scopeId,
	int classId
)

Parameters

scopeId
Type: SystemInt32
Scope identifier
classId
Type: SystemInt32
Class identifier
See Also