LocDisplayNameAttribute Constructor
Initializes a new instance of LocDisplayNameAttribute for the specified name.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣告
Public Sub New ( _
name As String _
)
'用途
Dim name As String
Dim instance As New LocDisplayNameAttribute(name)
public LocDisplayNameAttribute(
string name
)
public:
LocDisplayNameAttribute(
String^ name
)
new :
name:string -> LocDisplayNameAttribute
public function LocDisplayNameAttribute(
name : String
)
Parameters
- name
Type: System.String
The name to localize.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.