Enum
OfficePublicationPolicy
OfficeIMO
Controls how an existing output path is handled.
Inheritance
- Enum
- OfficePublicationPolicy
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const OfficePublicationPolicy Fail #Fail before publishing when the destination exists.
Value:
0public const OfficePublicationPolicy Replace #Atomically replace the destination after the staged artifact is validated.
Value:
1public const OfficePublicationPolicy Rename #Publish to the first available numbered file name.
Value:
2