SetOwnerExtensions.SetOwner Method (IComment, IPackage)
Change the owner.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static void SetOwner(
this IComment element,
IPackage newOwner
)
public:
[ExtensionAttribute]
static void SetOwner(
IComment^ element,
IPackage^ newOwner
)
static member SetOwner :
element:IComment *
newOwner:IPackage -> unit
<ExtensionAttribute>
Public Shared Sub SetOwner (
element As IComment,
newOwner As IPackage
)
Parameters
- element
Type: Microsoft.VisualStudio.Uml.Classes.IComment
- newOwner
Type: Microsoft.VisualStudio.Uml.Classes.IPackage
See Also
SetOwner Overload
SetOwnerExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top