共用方式為


IndexOfString 類別

 

代表用來尋找輸入字串中子字串索引的活動。

命名空間:   Microsoft.Activities.Expressions
組件:  Microsoft.Activities (在 Microsoft.Activities.dll 中)

繼承階層架構

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

語法

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)

建構函式

名稱 描述
System_CAPS_pubmethod IndexOfString()

初始化 IndexOfString 類別的新執行個體。

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

初始化 IndexOfString 類別的新執行個體。

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

初始化 IndexOfString 類別的新執行個體。

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

初始化 IndexOfString 類別的新執行個體。

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

初始化 IndexOfString 類別的新執行個體。

屬性

名稱 描述
System_CAPS_protproperty CacheId

(繼承自 Activity。)

System_CAPS_pubproperty Count

取得或設定要搜尋的字元數。

System_CAPS_pubproperty DisplayName

(繼承自 Activity。)

System_CAPS_pubproperty Id

(繼承自 Activity。)

System_CAPS_pubproperty IgnoreCase

取得或設定值,該值表示是否要在搜尋時忽略大小寫。

System_CAPS_protproperty ImplementationVersion

(繼承自 CodeActivity<TResult>。)

System_CAPS_pubproperty Input

取得或設定輸入字串。

System_CAPS_pubproperty Result

(繼承自 Activity<TResult>。)

System_CAPS_pubproperty ResultType

(繼承自 ActivityWithResult。)

System_CAPS_pubproperty SearchValue

取得或設定要尋找的值。

System_CAPS_pubproperty StartIndex

取得或設定要開始搜尋的索引。

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod ToString()

(繼承自 Activity。)

執行緒安全

這個類型的任何公用靜態 (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

Microsoft.Activities.Expressions 命名空間

回到頁首