RibbonControlId Constructor
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Sub New ( _
parent As Object, _
defaultControlId As String, _
defaultIdType As RibbonControlIdType _
)
'Usage
Dim parent As Object
Dim defaultControlId As String
Dim defaultIdType As RibbonControlIdType
Dim instance As New RibbonControlId(parent, _
defaultControlId, defaultIdType)
public RibbonControlId(
Object parent,
string defaultControlId,
RibbonControlIdType defaultIdType
)
Parameters
- parent
Type: System.Object
- defaultControlId
Type: System.String
- defaultIdType
Type: Microsoft.Office.Tools.Ribbon.RibbonControlIdType
.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.