InterfaceExtensions.CreateAttribute Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Create a new IProperty object in the Interface

Namespace:  Microsoft.VisualStudio.Uml.Extensions
Assembly:  Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateAttribute ( _
    parent As IInterface _
) As IProperty
'Usage
Dim parent As IInterface
Dim returnValue As IProperty

returnValue = parent.CreateAttribute()
public static IProperty CreateAttribute(
    this IInterface parent
)
[ExtensionAttribute]
public:
static IProperty^ CreateAttribute(
    IInterface^ parent
)
static member CreateAttribute : 
        parent:IInterface -> IProperty 
public static function CreateAttribute(
    parent : IInterface
) : IProperty

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Classes.IProperty
Newly created Property object

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IInterface. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

InterfaceExtensions Class

InterfaceExtensions Members

Microsoft.VisualStudio.Uml.Extensions Namespace