Sets the Section Style by name.
public override string StyleName { set; }
Public Overrides WriteOnly Property StyleName As String Set
public:
virtual property String^ StyleName {
void set (String^ value) override;
}| Exception | Condition |
|---|---|
| [!:System.ArgumentNullException] | Thrown when the specified style name is null. |
| [!:System.ArgumentException] | Thrown when the specified style name is empty string or does not exist. |
| [!:System.InvalidOperationException] | Thrown when setting StyleName if current Section doesn't support StyleName property. |