SharingBoundaryAttribute Kelas

Definisi

Penting

API ini bukan kompatibel CLS.

Saat diterapkan ke impor objek ExportFactory<T>, menandai batas cakupan berbagi.

public ref class SharingBoundaryAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)]
[System.CLSCompliant(false)]
[System.Composition.MetadataAttribute]
public sealed class SharingBoundaryAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)>]
[<System.CLSCompliant(false)>]
[<System.Composition.MetadataAttribute>]
type SharingBoundaryAttribute = class
    inherit Attribute
Public NotInheritable Class SharingBoundaryAttribute
Inherits Attribute
Warisan
SharingBoundaryAttribute
Atribut

Konstruktor

Nama Deskripsi
SharingBoundaryAttribute(String[])

Menginisialisasi instans SharingBoundaryAttribute baru kelas untuk nama batas yang ditentukan.

Properti

Nama Deskripsi
SharingBoundaryNames

Mendapatkan nama batas.

Metode

Nama Deskripsi
Equals(Object)

Mengembalikan nilai yang menunjukkan apakah instans ini sama dengan objek tertentu.

(Diperoleh dari Attribute)
GetHashCode()

Mengembalikan kode hash untuk instans ini.

(Diperoleh dari Attribute)
GetType()

Mendapatkan Type instans saat ini.

(Diperoleh dari Object)
MemberwiseClone()

Membuat salinan dangkal dari Objectsaat ini.

(Diperoleh dari Object)
ToString()

Mengembalikan string yang mewakili objek saat ini.

(Diperoleh dari Object)

Berlaku untuk

Lihat juga