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.
Creates a moniker for an element.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Function CreateMoniker ( _
    modelElement As ModelElement _
) As Moniker
Moniker CreateMoniker(
    ModelElement modelElement
)
Moniker^ CreateMoniker(
    ModelElement^ modelElement
)
abstract CreateMoniker : 
        modelElement:ModelElement -> Moniker
function CreateMoniker(
    modelElement : ModelElement
) : Moniker
Parameters
- modelElement 
 Type: Microsoft.VisualStudio.Modeling.ModelElement- The model element for the moniker. 
Return Value
Type: Microsoft.VisualStudio.Modeling.Moniker
A moniker that represents the element.
.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.