Bagikan melalui


MemberRelationshipService.Item[] Properti

Definisi

Membangun hubungan antara objek sumber dan target.

Overload

Item[MemberRelationship]

Membangun hubungan antara objek sumber dan target.

Item[Object, MemberDescriptor]

Membangun hubungan antara objek sumber dan target.

Item[MemberRelationship]

Sumber:
MemberRelationshipService.cs
Sumber:
MemberRelationshipService.cs
Sumber:
MemberRelationshipService.cs

Membangun hubungan antara objek sumber dan target.

public:
 property System::ComponentModel::Design::Serialization::MemberRelationship default[System::ComponentModel::Design::Serialization::MemberRelationship] { System::ComponentModel::Design::Serialization::MemberRelationship get(System::ComponentModel::Design::Serialization::MemberRelationship source); void set(System::ComponentModel::Design::Serialization::MemberRelationship source, System::ComponentModel::Design::Serialization::MemberRelationship value); };
public System.ComponentModel.Design.Serialization.MemberRelationship this[System.ComponentModel.Design.Serialization.MemberRelationship source] { get; set; }
member this.Item(System.ComponentModel.Design.Serialization.MemberRelationship) : System.ComponentModel.Design.Serialization.MemberRelationship with get, set
Default Public Property Item(source As MemberRelationship) As MemberRelationship

Parameter

source
MemberRelationship

Hubungan sumber. Ini adalah sisi kiri dari penetapan hubungan.

Nilai Properti

Hubungan saat ini yang terkait dengan source, atau Empty jika tidak ada hubungan.

Pengecualian

sourceadalah null.

source kosong, atau hubungan tidak didukung oleh layanan.

Keterangan

Jika Empty ditetapkan ke sumber, hubungan yang ada akan dihapus.

Berlaku untuk

Item[Object, MemberDescriptor]

Sumber:
MemberRelationshipService.cs
Sumber:
MemberRelationshipService.cs
Sumber:
MemberRelationshipService.cs

Membangun hubungan antara objek sumber dan target.

public:
 property System::ComponentModel::Design::Serialization::MemberRelationship default[System::Object ^, System::ComponentModel::MemberDescriptor ^] { System::ComponentModel::Design::Serialization::MemberRelationship get(System::Object ^ sourceOwner, System::ComponentModel::MemberDescriptor ^ sourceMember); void set(System::Object ^ sourceOwner, System::ComponentModel::MemberDescriptor ^ sourceMember, System::ComponentModel::Design::Serialization::MemberRelationship value); };
public System.ComponentModel.Design.Serialization.MemberRelationship this[object sourceOwner, System.ComponentModel.MemberDescriptor sourceMember] { get; set; }
member this.Item(obj * System.ComponentModel.MemberDescriptor) : System.ComponentModel.Design.Serialization.MemberRelationship with get, set
Default Public Property Item(sourceOwner As Object, sourceMember As MemberDescriptor) As MemberRelationship

Parameter

sourceOwner
Object

Pemilik hubungan sumber.

sourceMember
MemberDescriptor

Anggota hubungan sumber.

Nilai Properti

MemberRelationship Struktur yang merangkum hubungan antara objek sumber dan target, atau null jika tidak ada hubungan.

Pengecualian

sourceOwner atau sourceMember adalah null.

sourceOwner atau sourceMember kosong, atau hubungan tidak didukung oleh layanan.

Berlaku untuk