Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub New ( _
displayNameKey As String, _
type As Type, _
resourceName As String _
)
'使用
Dim displayNameKey As String
Dim type As Type
Dim resourceName As String
Dim instance As New DisplayNameResourceAttribute(displayNameKey, _
type, resourceName)
public DisplayNameResourceAttribute(
string displayNameKey,
Type type,
string resourceName
)
public:
DisplayNameResourceAttribute(
String^ displayNameKey,
Type^ type,
String^ resourceName
)
public function DisplayNameResourceAttribute(
displayNameKey : String,
type : Type,
resourceName : String
)
Parameters
- displayNameKey
Type: System.String
- type
Type: System.Type
- resourceName
Type: System.String
Permissions
- 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.
See Also
Reference
DisplayNameResourceAttribute Class
DisplayNameResourceAttribute Members