Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficePropertyNameAttribute

OfficeIMO

Namespace
OfficeIMO
Assembly
OfficeIMO.Core
Source revision
ac7e6e1bad8a with working tree changes
Base
Attribute
Modifiers
sealed
Attributes
AttributeUsage(128, AllowMultiple = false)

Sets the key a property is written and read under. It wins over the serializer options' property naming policy.

Inheritance

  • Attribute
  • OfficePropertyNameAttribute

Constructors

public OfficePropertyNameAttribute(string name) #

Creates the attribute.

Parameters

name string required
The key, used as written.

Properties

public string Name { get; } #

Gets the key.