ModelFactory.CreateStaticMemberItem(EditingContext, Type, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ModelItem that represents the value of a static member of the given class.
public:
static System::Activities::Presentation::Model::ModelItem ^ CreateStaticMemberItem(System::Activities::Presentation::EditingContext ^ context, Type ^ type, System::String ^ memberName);
public static System.Activities.Presentation.Model.ModelItem CreateStaticMemberItem (System.Activities.Presentation.EditingContext context, Type type, string memberName);
static member CreateStaticMemberItem : System.Activities.Presentation.EditingContext * Type * string -> System.Activities.Presentation.Model.ModelItem
Public Shared Function CreateStaticMemberItem (context As EditingContext, type As Type, memberName As String) As ModelItem
Parameters
- context
- EditingContext
The designer's editing context.
- type
- Type
The type that contains the static member being referenced.
- memberName
- String
The name of the static member being referenced.
Returns
The newly created ModelItem.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.