Assigns data scopes to a data type. By default data types will live in the public data scope (only) and you use this attribute to specify aditional scopes.

Namespace: Composite.Data
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public sealed class DataScopeAttribute : Attribute
Visual Basic
Public NotInheritable Class DataScopeAttribute _
	Inherits Attribute
Visual C++
public ref class DataScopeAttribute sealed : public Attribute

Examples

This sample shows how to use the DataScope attribute along with related interfaces and attributes:
CopyC#
// (other IData attributes)
[DataScope(DataScopeIdentifier.PublicName)]
[DataScope(DataScopeIdentifier.AdministratedName)]
[PublishProcessControllerType(typeof(GenericPublishProcessController))]
interface IMyDataType : IData, IPublishControlled
{
    // data type properties
}

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    Composite.Data..::..DataScopeAttribute

See Also