Edit

Share via


WorkflowDesignerLoader.FileName Property

Definition

When overridden in a derived class, gets the file name of the designer to load.

public:
 abstract property System::String ^ FileName { System::String ^ get(); };
public abstract string FileName { get; }
member this.FileName : string
Public MustOverride ReadOnly Property FileName As String

Property Value

A string that contains the file name of the designer to load.

Examples

The following example shows how to override the FileName property to return the path of the currently loaded workflow file used by the WorkflowDesignerLoader.

public override string FileName
{
    // return path of workflow file
    get
    {
        return this.xomlFile;
    }
}
Public Overrides ReadOnly Property FileName() As String
    ' return path of workflow file
    Get
        Return Me.XomlFile
    End Get
End Property

Applies to