ActivitySchemaType.GetVariables Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a list of element nodes that make up a specified instance of a ActivitySchemaType.
Namespace: System.Activities.Design.Xaml
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Function GetVariables ( _
input As Object _
) As List(Of Variable)
'Usage
Dim input As Object
Dim returnValue As List(Of Variable)
returnValue = ActivitySchemaType.GetVariables(input)
public static List<Variable> GetVariables(
Object input
)
public:
static List<Variable^>^ GetVariables(
Object^ input
)
public static function GetVariables(
input : Object
) : List<Variable>
static member GetVariables :
input:Object -> List<Variable>
Parameters
- input
Type: System.Object
An activity schema object.
Return Value
Type: System.Collections.Generic.List<Variable>
A list of schema properties.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | input is nulla null reference (Nothing in Visual Basic). |
| InvalidCastException | astAsModelItem.ItemType.IsAssignableFrom(typeof(ActivitySchemaType)) is false. |
| InvalidCastException | instance is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4