AccessProviderSample.AccessDBProvider.GetContentWriter C# (CSharp) Метод

GetContentWriter() публичный Метод

Get an object used to write content.
public GetContentWriter ( string path ) : IContentWriter
path string The root path at which to write.
Результат IContentWriter
        public IContentWriter GetContentWriter(string path)
        {
            string tableName;
            int rowNumber;

            PathType type = GetNamesFromPath(path, out tableName, out rowNumber);

            if (type == PathType.Invalid)
            {
                ThrowTerminatingInvalidPathException(path);
            }
            else if (type == PathType.Row)
            {
                throw new InvalidOperationException("contents can be added only to tables");
            }

            return new AccessDBContentWriter(path, this);
        }