共用方式為


ApplyElementTypeLimitationsAttribute 類別

 

選擇器使用的篩選屬性,目的是要篩選掉任何不是表示指定項目型別之項目型別的 ModelBusReferences。

命名空間:   Microsoft.VisualStudio.Modeling.Integration.Picker
組件:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll 中)

繼承階層架構

System.Object
System.Attribute
Microsoft.VisualStudio.Modeling.Integration.Picker.PickerMetadataBaseAttribute
Microsoft.VisualStudio.Modeling.Integration.Picker.ApplyElementTypeLimitationsAttribute

語法

[CLSCompliantAttribute(false)]
[AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false, 
    Inherited = false)]
public sealed class ApplyElementTypeLimitationsAttribute : PickerMetadataBaseAttribute
[CLSCompliantAttribute(false)]
[AttributeUsageAttribute(AttributeTargets::Property, AllowMultiple = false, 
    Inherited = false)]
public ref class ApplyElementTypeLimitationsAttribute sealed : PickerMetadataBaseAttribute
[<Sealed>]
[<CLSCompliantAttribute(false)>]
[<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false,
    Inherited = false)>]
type ApplyElementTypeLimitationsAttribute = 
    class
        inherit PickerMetadataBaseAttribute
    end
<CLSCompliantAttribute(False)>
<AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple := False,
    Inherited := False)>
Public NotInheritable Class ApplyElementTypeLimitationsAttribute
    Inherits PickerMetadataBaseAttribute

建構函式

名稱 描述
System_CAPS_pubmethod ApplyElementTypeLimitationsAttribute(Type[])

根據項目型別建立限制

屬性

名稱 描述
System_CAPS_pubproperty ElementTypes

取得已套用的限制

System_CAPS_pubproperty TypeId

(繼承自 Attribute。)

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Attribute。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Attribute。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod IsDefaultAttribute()

(繼承自 Attribute。)

System_CAPS_pubmethod Match(Object)

(繼承自 Attribute。)

System_CAPS_pubmethod ToString()

(繼承自 Object。)

明確介面實作

名稱 描述
System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

(繼承自 Attribute。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

(繼承自 Attribute。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfoCount(UInt32)

(繼承自 Attribute。)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

(繼承自 Attribute。)

執行緒安全

這個類型的任何公用靜態 (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

Microsoft.VisualStudio.Modeling.Integration.Picker 命名空間

回到頁首