Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET

Namespace: Visual3D
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public static bool HasOwner<TOwner>(
	this IOwned component,
	out TOwner owner
)
where TOwner : class
<ExtensionAttribute> _
Public Shared Function HasOwner(Of TOwner As Class) ( _
	component As IOwned, _
	<OutAttribute> ByRef owner As TOwner _
) As Boolean

Parameters

component
IOwned
owner
TOwner%

Type Parameters

TOwner

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOwned. When you use instance method syntax to call this method, omit the first parameter.

See Also