Class Relation
This class stores relation data (except relation id).
Inheritance
System.Object
Relation
Implements
System.ICloneable
Namespace: Syncfusion.XlsIO.Implementation.XmlSerialization
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
public class Relation : Object, ICloneable
Constructors
Relation(String, String)
Initializes a new instance of the Relation class.
Declaration
public Relation(string target, string type)
Parameters
Type | Name | Description |
---|---|---|
System.String | target | Represents target. |
System.String | type | Represents destination type. |
Relation(String, String, Boolean)
Initializes a new instance of the Relation class.
Declaration
public Relation(string target, string type, bool isExternal)
Parameters
Type | Name | Description |
---|---|---|
System.String | target | Represents target. |
System.String | type | Represents destination type. |
System.Boolean | isExternal | Value indicating whether target is external. |
Properties
IsExternal
Gets a value indicating whether target is external.
Declaration
public bool IsExternal { get; }
Property Value
Type |
---|
System.Boolean |
Target
Gets target. Read-only.
Declaration
public string Target { get; }
Property Value
Type |
---|
System.String |
Type
Gets destination type. Read-only.
Declaration
public string Type { get; }
Property Value
Type |
---|
System.String |
Methods
Clone()
Create copy of the current object.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | A copy of the current object. |
Implements
System.ICloneable