此特性应用于的扩展部件应当排在具有指定名称的扩展部件之前。
命名空间: Microsoft.VisualStudio.Utilities
程序集: Microsoft.VisualStudio.CoreUtility(在 Microsoft.VisualStudio.CoreUtility.dll 中)
语法
声明
Public Property Before As String
public string Before { get; set; }
public:
property String^ Before {
String^ get ();
void set (String^ value);
}
member Before : string with get, set
function get Before () : String
function set Before (value : String)
属性值
类型:String
此部件应当排在其之前的部件。
异常
异常 | 条件 |
---|---|
ArgumentNullException | 该值为 nullnull 引用(在 Visual Basic 中为 Nothing)。 |
ArgumentException | 该值是一个空字符串。 |
备注
请参见 编辑扩展点 有关如何使用此属性的更多信息。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。