共用方式為


DependencyProperty.FromName(String, Type) 方法

定義

取得根據 DependencyPropertyName 註冊的 OwnerType

public:
 static System::Workflow::ComponentModel::DependencyProperty ^ FromName(System::String ^ propertyName, Type ^ ownerType);
public static System.Workflow.ComponentModel.DependencyProperty FromName (string propertyName, Type ownerType);
static member FromName : string * Type -> System.Workflow.ComponentModel.DependencyProperty
Public Shared Function FromName (propertyName As String, ownerType As Type) As DependencyProperty

參數

propertyName
String

NameDependencyProperty

ownerType
Type

OwnerType 的必要值。

傳回

DependencyProperty

根據 DependencyPropertyName 登錄的 OwnerType

適用於