WorkflowActivities.ReadTextProperty メソッド
SharePoint のSPFieldType.Text型を使用して、指定したプロジェクトのプロパティの値を読み取ります。
名前空間: Microsoft.ProjectServer.Client
アセンブリ: Microsoft.ProjectServer.Client (Microsoft.ProjectServer.Client.dll 内)
構文
'宣言
<RemoteAttribute> _
Public Function ReadTextProperty ( _
projectId As Guid, _
propertyId As String _
) As ClientResult(Of String)
'使用
Dim instance As WorkflowActivities
Dim projectId As Guid
Dim propertyId As String
Dim returnValue As ClientResult(Of String)
returnValue = instance.ReadTextProperty(projectId, _
propertyId)
[RemoteAttribute]
public ClientResult<string> ReadTextProperty(
Guid projectId,
string propertyId
)
パラメーター
projectId
型: System.Guidプロジェクトの GUID。
propertyId
型: System.String読み取りプロパティの GUID。
戻り値
型: Microsoft.SharePoint.Client.ClientResult<String>
Textプロパティの値。
注釈
Project Server ワークフローには、 ReadTextPropertyメソッドを呼び出すことができます。propertyIdの有効な値は、 WorkflowDesignerField.Idプロパティを使用して、 WorkflowDesigner.Fieldsのコレクションから取得できます。ReadTextPropertyメソッドは、 WorkflowDesignerField.SPFieldTypeプロパティがSPFieldType.Textであるフィールドでのみ機能します。