Class ExportableLink
The ExportableLink is used to representing a link in the export functionality.
Inheritance
System.Object
    ExportableLink
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class ExportableLinkProperties
ContentGuid
Gets or sets the content GUID.
Declaration
public Guid ContentGuid { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Guid | The content GUID. | 
Methods
Create(Guid, String, String, IContentTransferContext, Boolean)
Creates for content.
Declaration
public static ExportableLink Create(Guid contentGuid, string contentTypeName, string masterLanguageBranch, IContentTransferContext transferContext, bool addToLinkGuidMap)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Guid | contentGuid | The content GUID. | 
| System.String | contentTypeName | Name of the content type. | 
| System.String | masterLanguageBranch | The master language branch. | 
| IContentTransferContext | transferContext | The transfer context. | 
| System.Boolean | addToLinkGuidMap | if set to  | 
Returns
| Type | Description | 
|---|---|
| ExportableLink | 
Create(String)
Creates a exportable link for a exportable link string.
Declaration
public static ExportableLink Create(string linkString)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | linkString | The exportable link as a string. | 
Returns
| Type | Description | 
|---|---|
| ExportableLink | The created exportable link for the page folder, if the page wasn't found null. | 
Find(String)
Finds exportable links in the specified content.
Declaration
public static IList<ExportableLink> Find(string content)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | content | The content to search for exportable links. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IList<ExportableLink> | A list of exportable liks in the content. | 
ToString()
Returns the exportable link as a string on the form [page|pagefolder][pageGuid][pageType].
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | The exportable link. | 
Overrides
System.Object.ToString()
  