ReplaceString Class

 

An activity to replace the contents of a string, optionally using regular expressions.

Namespace:   Microsoft.Activities.Expressions
Assembly:  Microsoft.Activities (in Microsoft.Activities.dll)

Inheritance Hierarchy

System.Object
  System.Activities.Activity
    System.Activities.ActivityWithResult
      System.Activities.Activity<TResult>
        System.Activities.CodeActivity<TResult>
          Microsoft.Activities.Expressions.ReplaceString

Syntax

public sealed class ReplaceString : CodeActivity<string>
public ref class ReplaceString sealed : CodeActivity<String^>
[<Sealed>]
type ReplaceString = 
    class
        inherit CodeActivity<string>
    end
Public NotInheritable Class ReplaceString
    Inherits CodeActivity(Of String)

Constructors

Name Description
System_CAPS_pubmethod ReplaceString()

Initializes a new instance of the ReplaceString class.

System_CAPS_pubmethod ReplaceString(InArgument<String>, InArgument<String>, InArgument<String>)

Initializes a new instance of the ReplaceString class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty ExistingValue

Gets or sets the value to replace.

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity<TResult>.)

System_CAPS_pubproperty Input

Gets or sets the input string.

System_CAPS_pubproperty Pattern

Gets or sets the regular expression pattern to use.

System_CAPS_pubproperty Replacement

Gets or sets the replacement value.

System_CAPS_pubproperty Result

(Inherited from Activity<TResult>.)

System_CAPS_pubproperty ResultType

(Inherited from ActivityWithResult.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Activity.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Activities.Expressions Namespace

Return to top