IndexOfString Class

 

Represents an activity to find the index of a substring within an input 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.IndexOfString

Syntax

public sealed class IndexOfString : CodeActivity<int>
public ref class IndexOfString sealed : CodeActivity<int>
[<Sealed>]
type IndexOfString = 
    class
        inherit CodeActivity<int>
    end
Public NotInheritable Class IndexOfString
    Inherits CodeActivity(Of Integer)

Constructors

Name Description
System_CAPS_pubmethod IndexOfString()

Initializes a new instance of the IndexOfString class.

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

Initializes a new instance of the IndexOfString class.

System_CAPS_pubmethod IndexOfString(InArgument<String>, InArgument<String>, InArgument<Int32>)

Initializes a new instance of the IndexOfString class.

System_CAPS_pubmethod IndexOfString(InArgument<String>, InArgument<String>, InArgument<Int32>, InArgument<Int32>)

Initializes a new instance of the IndexOfString class.

System_CAPS_pubmethod IndexOfString(InArgument<String>, InArgument<String>, InArgument<Int32>, InArgument<Int32>, Boolean)

Initializes a new instance of the IndexOfString class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Count

Gets or sets the number of characters to search.

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_pubproperty IgnoreCase

Gets or sets a value that indicates whether to ignore case during search.

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

System_CAPS_pubproperty SearchValue

Gets or sets the value to find.

System_CAPS_pubproperty StartIndex

Gets or sets the index to start the search.

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