A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Models.MemberType.html below:

View Source Class MemberType

Represents the content type that a Member object is based on

Inheritance

System.Object

Namespace: Umbraco.Cms.Core.Models Assembly: Umbraco.Core.dll Syntax
[DataContract(IsReference = true)]
public class MemberType : ContentTypeCompositionBase, IMemberType, IContentTypeComposition, IContentTypeBase, IUmbracoEntity, ITreeEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors View Source MemberType(IShortStringHelper, Int32) Declaration
public MemberType(IShortStringHelper shortStringHelper, int parentId)
Parameters View Source MemberType(IShortStringHelper, IContentTypeComposition) Declaration
public MemberType(IShortStringHelper shortStringHelper, IContentTypeComposition parent)
Parameters View Source MemberType(IShortStringHelper, IContentTypeComposition, String) Declaration
public MemberType(IShortStringHelper shortStringHelper, IContentTypeComposition parent, string alias)
Parameters Fields View Source SupportsPublishingConst Declaration
public const bool SupportsPublishingConst = false
Field Value Type Description System.Boolean Properties View Source Alias

The Alias of the ContentType

Declaration
[DataMember]
public override string Alias { get; set; }
Property Value Type Description System.String View Source SupportsPublishing

Gets a value indicating whether the content type supports publishing.

Declaration
public override bool SupportsPublishing { get; }
Property Value Type Description System.Boolean View Source Variations Declaration
public override ContentVariation Variations { get; set; }
Property Value Methods View Source IsSensitiveProperty(String)

Gets a boolean indicating whether a Property is marked as storing sensitive values on the Members profile.

Declaration
public bool IsSensitiveProperty(string propertyTypeAlias)
Parameters Type Name Description System.String propertyTypeAlias

PropertyType Alias of the Property to check

Returns Type Description System.Boolean View Source MemberCanEditProperty(String)

Gets a boolean indicating whether a Property is editable by the Member.

Declaration
public bool MemberCanEditProperty(string propertyTypeAlias)
Parameters Type Name Description System.String propertyTypeAlias

PropertyType Alias of the Property to check

Returns Type Description System.Boolean View Source MemberCanViewProperty(String)

Gets a boolean indicating whether a Property is visible on the Members profile.

Declaration
public bool MemberCanViewProperty(string propertyTypeAlias)
Parameters Type Name Description System.String propertyTypeAlias

PropertyType Alias of the Property to check

Returns Type Description System.Boolean View Source SetIsSensitiveProperty(String, Boolean)

Sets a boolean indicating whether a Property is a sensitive value on the Members profile.

Declaration
public void SetIsSensitiveProperty(string propertyTypeAlias, bool value)
Parameters Type Name Description System.String propertyTypeAlias

PropertyType Alias of the Property to set

System.Boolean value

Boolean value, true or false

View Source SetMemberCanEditProperty(String, Boolean)

Sets a boolean indicating whether a Property is editable by the Member.

Declaration
public void SetMemberCanEditProperty(string propertyTypeAlias, bool value)
Parameters Type Name Description System.String propertyTypeAlias

PropertyType Alias of the Property to set

System.Boolean value

Boolean value, true or false

View Source SetMemberCanViewProperty(String, Boolean)

Sets a boolean indicating whether a Property is visible on the Members profile.

Declaration
public void SetMemberCanViewProperty(string propertyTypeAlias, bool value)
Parameters Type Name Description System.String propertyTypeAlias

PropertyType Alias of the Property to set

System.Boolean value

Boolean value, true or false

View Source ToSimple()

Gets an ISimpleContentType corresponding to this content type.

Declaration
public override ISimpleContentType ToSimple()
Returns

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4