SenseNet.ContentRepository.GenericContent.AllowChildType C# (CSharp) Method

AllowChildType() public method

public AllowChildType ( ContentType contentType, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void
contentType SenseNet.ContentRepository.Schema.ContentType
setOnAncestorIfInherits bool
throwOnError bool
save bool
return void
        public void AllowChildType(ContentType contentType, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false)
        {
            AllowChildTypes(new[] { contentType }, setOnAncestorIfInherits, throwOnError, save);
        }
        public void AllowChildTypes(IEnumerable<string> contentTypeNames, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false)

Same methods

GenericContent::AllowChildType ( string contentTypeName, bool setOnAncestorIfInherits = false, bool throwOnError = true, bool save = false ) : void