Share via


ExtensionMethods.SetDocumentation Method

Sets documentation for a specified element.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub SetDocumentation ( _
    model As IEdmModel, _
    element As IEdmElement, _
    documentation As IEdmDocumentation _
)
'Usage
Dim model As IEdmModel 
Dim element As IEdmElement 
Dim documentation As IEdmDocumentation 

model.SetDocumentation(element, documentation)
public static void SetDocumentation(
    this IEdmModel model,
    IEdmElement element,
    IEdmDocumentation documentation
)
[ExtensionAttribute]
public:
static void SetDocumentation(
    IEdmModel^ model, 
    IEdmElement^ element, 
    IEdmDocumentation^ documentation
)
static member SetDocumentation : 
        model:IEdmModel * 
        element:IEdmElement * 
        documentation:IEdmDocumentation -> unit
public static function SetDocumentation(
    model : IEdmModel, 
    element : IEdmElement, 
    documentation : IEdmDocumentation
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ExtensionMethods Class

Microsoft.Data.Edm Namespace