OpenApiExampleReference.CopyReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copy the reference as a target element with overrides.
protected override Microsoft.OpenApi.OpenApiReferenceWithDescriptionAndSummary CopyReference(Microsoft.OpenApi.OpenApiReferenceWithDescriptionAndSummary sourceReference);
override this.CopyReference : Microsoft.OpenApi.OpenApiReferenceWithDescriptionAndSummary -> Microsoft.OpenApi.OpenApiReferenceWithDescriptionAndSummary
Protected Overrides Function CopyReference (sourceReference As OpenApiReferenceWithDescriptionAndSummary) As OpenApiReferenceWithDescriptionAndSummary
Parameters
- sourceReference
- OpenApiReferenceWithDescriptionAndSummary
The source reference to copy
Returns
The copy of the reference