SharedAttribute クラス

定義

装飾されたパーツを、指定した境界内での共有に制限されているようにマークします。

public ref class SharedAttribute : System::Composition::PartMetadataAttribute
[System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)]
public class SharedAttribute : System.Composition.PartMetadataAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)>]
type SharedAttribute = class
    inherit PartMetadataAttribute
Public Class SharedAttribute
Inherits PartMetadataAttribute
継承
属性

コンストラクター

名前 説明
SharedAttribute()

グローバル共有としてマークされた SharedAttribute クラスの新しいインスタンスを初期化します。

SharedAttribute(String)

指定した共有境界を使用して、 SharedAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Name

メタデータ値の名前を取得します。

(継承元 PartMetadataAttribute)
SharingBoundary

この属性でマークされたパーツにアクセスできない境界を取得します。

Value

メタデータ値を取得します。

(継承元 PartMetadataAttribute)

メソッド

名前 説明
Equals(Object)

このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 Attribute)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象

こちらもご覧ください