共用方式為


HierarchyMembersGetCriteria.ParentEntityId 屬性

Gets or sets the parent entity of whose members are being retrieved.

命名空間:  Microsoft.MasterDataServices
組件:  Microsoft.MasterDataServices (在 Microsoft.MasterDataServices.dll 中)

語法

'宣告
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property ParentEntityId As Identifier
    Get
    Set
'用途
Dim instance As HierarchyMembersGetCriteria
Dim value As Identifier

value = instance.ParentEntityId

instance.ParentEntityId = value
[DataMemberAttribute(EmitDefaultValue = false)]
public Identifier ParentEntityId { get; set; }
[DataMemberAttribute(EmitDefaultValue = false)]
public:
property Identifier^ ParentEntityId {
    Identifier^ get ();
    void set (Identifier^ value);
}
[<DataMemberAttribute(EmitDefaultValue = false)>]
member ParentEntityId : Identifier with get, set
function get ParentEntityId () : Identifier
function set ParentEntityId (value : Identifier)

屬性值

型別:Microsoft.MasterDataServices.Identifier
A new instance of type Identifier.

備註

For explicit hierarchies and collection members, the parent entity is required. For derived hierarchies, you need both entities if you are getting nodes under anything besides Root/null/blank/default.

The ParentEntityId will be the same as the child for standard hierarchies, but it will be different for derived hierarchies. For derived hierarchies, you can use the child entity returned for the prior level.

請參閱

參考

HierarchyMembersGetCriteria 類別

Microsoft.MasterDataServices 命名空間