BaseFormFieldThrowIfReadOnlyT Method |
Namespace:
Atalasoft.PdfDoc.Generating.Forms
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax protected T ThrowIfReadOnly<T>(
T value
)
Protected Function ThrowIfReadOnly(Of T) (
value As T
) As T
Parameters
- value
- Type: T
The value
Type Parameters
- T
- The value type
Return Value
Type:
TExceptions Exception | Condition |
---|
InvalidOperationException | Attempt to modify a read-only annotation. |
Remarks
This is a helper method used in public properties to prevent modification to annotation contents.
See Also