CSDocumentInformationFileName Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets or sets a value that specifies the file name of a document.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public override string FileName { get; set; }

Property Value

Type: String
This value cannot exceed MAX_FILE_NAME_SIZE characters in length. The default value is null (Nothing in Visual Basic) which indicates to Content Studio to use the current value for existing documents or the default value for new documents.
Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionThe value is too long
InvalidOperationExceptionProperty is read only
Remarks

This property is read-only.

Starting with version 5.2 the FileName must be specified before a new document is saved for the first time when the DocumentFileNamingConvention property is UserDefinedFileName. In all other cases this property is read only.

See Also

Reference