ReferenceRelationship Constructor (Uri, Boolean, String, String)
Initializes a new instance of the ReferenceRelationship.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Protected Friend Sub New ( _
targetUri As Uri, _
isExternal As Boolean, _
relationshipType As String, _
id As String _
)
'Usage
Dim targetUri As Uri
Dim isExternal As Boolean
Dim relationshipType As String
Dim id As String
Dim instance As New ReferenceRelationship(targetUri, _
isExternal, relationshipType, id)
protected internal ReferenceRelationship(
Uri targetUri,
bool isExternal,
string relationshipType,
string id
)
Parameters
- targetUri
Type: System.Uri
The target uri of the relationship.
- isExternal
Type: System.Boolean
A value that indicates whether the target of the relationship is Internal or External to the Package.
- relationshipType
Type: System.String
The relationship type of the relationship.
- id
Type: System.String
The relationship ID.