VBCodeHelper.Attribute Method (String)

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Gets an attribute with the specified body.

Namespace:  Microsoft.Data.Entity.Design.CodeGeneration
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

Syntax

'Declaration
Protected Overrides Function Attribute ( _
    attributeBody As String _
) As String
'Usage
Dim attributeBody As String 
Dim returnValue As String 

returnValue = Me.Attribute(attributeBody)
protected override string Attribute(
    string attributeBody
)
protected:
virtual String^ Attribute(
    String^ attributeBody
) override
abstract Attribute : 
        attributeBody:string -> string  
override Attribute : 
        attributeBody:string -> string
protected override function Attribute(
    attributeBody : String
) : String

Parameters

Return Value

Type: System.String
The attribute.

See Also

Reference

VBCodeHelper Class

Attribute Overload

Microsoft.Data.Entity.Design.CodeGeneration Namespace