ExcuteIfK2PropertyIsPresent(ISerializationInfo,String,Action<String>) Method
See Also 
SourceCode.Workflow.Design.Common.Extensions Namespace > SerializationInfoExtensions Class > ExcuteIfK2PropertyIsPresent Method : ExcuteIfK2PropertyIsPresent(ISerializationInfo,String,Action<String>) Method



content
The content.
name
The name.
action
The action.

Glossary Item Box

Excutes if string property is present.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Overloads Shared Sub ExcuteIfK2PropertyIsPresent( _
   ByVal content As ISerializationInfo, _
   ByVal name As String, _
   ByVal action As Action(Of String) _
) 
Visual Basic (Usage)Copy Code
Dim content As ISerializationInfo
Dim name As String
Dim action As Action(Of String)
 
SerializationInfoExtensions.ExcuteIfK2PropertyIsPresent(content, name, action)
C# 
[Extension()]
public static void ExcuteIfK2PropertyIsPresent( 
   ISerializationInfo content,
   string name,
   Action<string> action
)
C++/CLI 
[Extension()]
public:
static void ExcuteIfK2PropertyIsPresent( 
   ISerializationInfo^ content,
   String^ name,
   Action<String^>^ action
) 

Parameters

content
The content.
name
The name.
action
The action.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also