共用方式為


SupplyFileBasedBrowserConfigurationAttribute 類別

 

提供檔案模型瀏覽器的組態 <example> 下列程式碼會提供在說明文字中顯示 "DSL 模型" 的組態,並會篩選所有 dsl 和圖表延伸 [SupplyFileBasedBrowserConfiguration ("DSL 模型"、"模型檔案|*.dsl|圖表檔案|*.diagram")] 公用 ModelBusReference MyReference { get; set; } </example>

命名空間:   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.SupplyFileBasedBrowserConfigurationAttribute

語法

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

建構函式

名稱 描述
System_CAPS_pubmethod SupplyFileBasedBrowserConfigurationAttribute(String, String)

建立以檔案為主的提示

屬性

名稱 描述
System_CAPS_pubproperty FileExtensionsFilter

取得 FileExtensionsFilter

System_CAPS_pubproperty Title

取得標題

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 命名空間

回到頁首