Convert<TSource, TDestination> Class
An activity to convert an input value from one type to another.
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.Convert<TSource, TDestination>
Syntax
[ContentPropertyAttribute("Input")]
public class Convert<TSource, TDestination> : CodeActivity<TDestination>
generic<typename TSource, typename TDestination>
[ContentPropertyAttribute("Input")]
public ref class Convert : CodeActivity<TDestination>
[<ContentPropertyAttribute("Input")>]
type Convert<'TSource, 'TDestination> =
class
inherit CodeActivity<'TDestination>
end
<ContentPropertyAttribute("Input")>
Public Class Convert(Of TSource, TDestination)
Inherits CodeActivity(Of TDestination)
Type Parameters
- TSource
The source type.
- TDestination
The destination type.
Constructors
Name | Description | |
---|---|---|
Convert<TSource, TDestination>() | Initializes a new instance of the Convert<TSource, TDestination> class. |
|
Convert<TSource, TDestination>(InArgument<TSource>) | Initializes a new instance of the Convert<TSource, TDestination> class. |
Properties
Name | Description | |
---|---|---|
CacheId | (Inherited from Activity.) |
|
Constraints | (Inherited from Activity.) |
|
DisplayName | (Inherited from Activity.) |
|
Id | (Inherited from Activity.) |
|
Implementation | (Inherited from CodeActivity<TResult>.) |
|
ImplementationVersion | (Inherited from CodeActivity<TResult>.) |
|
Input | Gets or sets the input value. |
|
Result | (Inherited from Activity<TResult>.) |
|
ResultType | (Inherited from ActivityWithResult.) |
Methods
Name | Description | |
---|---|---|
CacheMetadata(ActivityMetadata) | (Inherited from CodeActivity<TResult>.) |
|
CacheMetadata(CodeActivityMetadata) | Creates and validates a description of the activity?s arguments, variables, child activities, and activity delegates.(Overrides CodeActivity<TResult>.CacheMetadata(CodeActivityMetadata).) |
|
Equals(Object) | (Inherited from Object.) |
|
Execute(CodeActivityContext) | Performs the execution of the activity.(Overrides CodeActivity<TResult>.Execute(CodeActivityContext).) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
OnCreateDynamicUpdateMap(UpdateMapMetadata, Activity) | (Inherited from CodeActivity<TResult>.) |
|
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