Trim Class

 

Represents an activity to trim a string.

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.Trim

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod Trim()

Initializes a new instance of the Trim class with default value.

System_CAPS_pubmethod Trim(InArgument<String>)

Initializes a new instance of the Trim class with input string.

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

Initializes a new instance of the Trim class with input string and trimmed characters.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Characters

Gets or sets the characters to be trimmed.

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

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 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