internal CoreAttachment CreateItemAttachment(StoreObjectType type)
        {
            this.CheckDisposed(null);
            EnumValidator.ThrowIfInvalid <StoreObjectType>(type, "type");
            ExTraceGlobals.StorageTracer.Information((long)this.GetHashCode(), "Storage.CoreAttachmentCollection.Create2");
            this.InitCollection("CreateItemAttachment", true);
            string containerMessageClass = ObjectClass.GetContainerMessageClass(type);

            return(this.InternalCreate(new AttachmentType?(AttachmentType.EmbeddedMessage), containerMessageClass, null, null));
        }