Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub New ( _
attributeName As String, _
value As String, _
type As UserContextType _
)
'使用
Dim attributeName As String
Dim value As String
Dim type As UserContextType
Dim instance As New UserContextElement(attributeName, _
value, type)
public UserContextElement(
string attributeName,
string value,
UserContextType type
)
public:
UserContextElement(
String^ attributeName,
String^ value,
UserContextType type
)
public function UserContextElement(
attributeName : String,
value : String,
type : UserContextType
)
Parameters
- attributeName
Type: System.String
- value
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.