SharedAttribute Class
Marks the decorated part as being constrained to sharing within the specified boundary.
Assembly: System.Composition.AttributedModel (in System.Composition.AttributedModel.dll)
System::Attribute
System.Composition::PartMetadataAttribute
System.Composition::SharedAttribute
| Name | Description | |
|---|---|---|
![]() | SharedAttribute() | Initializes a new instance of the SharedAttribute class marked as globally shared. |
![]() | SharedAttribute(String^) | Initializes a new instance of the SharedAttribute class with the specified sharing boundary. |
| Name | Description | |
|---|---|---|
![]() | Name | Gets the name of the metadata value.(Inherited from PartMetadataAttribute.) |
![]() | SharingBoundary | Gets or sets the boundary outside which the part marked by this attribute is inaccessible. |
![]() | TypeId | (Inherited from Attribute.) |
![]() | Value | Gets the metadata value.(Inherited from PartMetadataAttribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Attribute.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object^) | (Inherited from Attribute.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute::GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




