共用方式為


Parents 屬性

Gets or sets an ArrayOfParent that includes parents of the member from explicit hierarchies.

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

語法

'宣告
<DataMemberAttribute(EmitDefaultValue := False)> _
Public Property Parents As Collection(Of Parent)
    Get
    Set
'用途
Dim instance As Member
Dim value As Collection(Of Parent)

value = instance.Parents

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

屬性值

型別:System.Collections.ObjectModel. . :: . .Collection< (Of < ( <'Parent> ) > ) >
A collection of type Parent.