IVsPerPropertyBrowsing Interface
IVsPerPropertyBrowsing is used to perform custom edits for localization on some properties displayed in the Properties window.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")> _
Public Interface IVsPerPropertyBrowsing
'使用
Dim instance As IVsPerPropertyBrowsing
[InterfaceTypeAttribute()]
[GuidAttribute("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")]
public interface IVsPerPropertyBrowsing
[InterfaceTypeAttribute()]
[GuidAttribute(L"0FF510A3-5FA5-49F1-8CCC-190D71083F3E")]
public interface class IVsPerPropertyBrowsing
public interface IVsPerPropertyBrowsing
Remarks
IVsPerPropertyBrowsing allows you to localize and hide the names of properties displayed during design time, determine the default value of specific properties in the selected object and whether or not the current value is the default. You can also use this interface to set properties to read-only, and to determine if the property can be changed back to the default if it has been modified.
Manipulating properties using this interface during design time will not affect what the user sees during runtime. See How to: Hide Properties with Child Properties for an example of IVsPerPropertyBrowsing implementation.
Notes to Implementers:
Implemented by projects to control display of properties in the Properties Window.
Notes to Callers:
Called by the environment when the Properties window is populated.