Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add a token and its value to the list.
Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub AddToken ( _
    tokenName As String, _
    value As String _
)
public void AddToken(
    string tokenName,
    string value
)
public:
void AddToken(
    String^ tokenName, 
    String^ value
)
member AddToken : 
        tokenName:string * 
        value:string -> unit
public function AddToken(
    tokenName : String, 
    value : String
)
Parameters
- tokenName 
 Type: String- Name of the token to add. 
- value 
 Type: String- Value of the token. 
.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.