次の方法で共有


IVSMDDesignerService.DesignViewAttribute Property

Gets the name of the metadata attribute we will use to determine if a class supports a design view.

Namespace:  Microsoft.VisualStudio.Designer.Interfaces
Assembly:  Microsoft.VisualStudio.Designer.Interfaces (in Microsoft.VisualStudio.Designer.Interfaces.dll)

Syntax

'宣言
ReadOnly Property DesignViewAttribute As String
string DesignViewAttribute { get; }

Property Value

Type: System.String

Remarks

Compilers typically call this method to tell the project system whether a particular file can be shown in a designer. This is more efficient than attempting to create a designer and failing.

.NET Framework Security

See Also

Reference

IVSMDDesignerService Interface

Microsoft.VisualStudio.Designer.Interfaces Namespace