Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class ProjectMember

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Defines a member of a project

Inheritance
System.Object
ProjectMember
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ProjectMember : IReadOnly<ProjectMember>, IReadOnly

Constructors

ProjectMember()

Declaration
public ProjectMember()

Properties

ID

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The identity of the project item

Declaration
public int ID { get; set; }
Property Value
Type Description
System.Int32

IsReadOnly

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean

Name

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The name of the member, such as user name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

ProjectID

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The identity of the project

Declaration
public int ProjectID { get; set; }
Property Value
Type Description
System.Int32

Methods

CreateWritableClone()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public ProjectMember CreateWritableClone()
Returns
Type Description
ProjectMember

MakeReadOnly()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
public void MakeReadOnly()
Remarks

After calling this method, any attempt to change the object instance or any contained object will generate a System.NotSupportedException. I.e. the semantics is "deep read-only".

Note! After setting an object to read-only it is not possible to revert back to read-write mode. You will have to call the CreateWritableClone method to get a copy that can be modified.

Explicit Interface Implementations

IReadOnly.CreateWritableClone()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Declaration
object IReadOnly.CreateWritableClone()
Returns
Type Description
System.Object

A writable copy of the current object.

Remarks

The cloning is a deep-copy.

Implements

Extension Methods