Partager via


JavaPeerableExtensions Class

Definition

Extension methods on IJavaPeerable.

public static class JavaPeerableExtensions
type JavaPeerableExtensions = class
Inheritance
JavaPeerableExtensions

Methods

GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to