Delen via


CompositionEffectBrush.SetSourceParameter(String, CompositionBrush) Method

Definition

Associates a name declared using CompositionEffectSourceParameter to an effect source.

public:
 virtual void SetSourceParameter(Platform::String ^ name, CompositionBrush ^ source) = SetSourceParameter;
void SetSourceParameter(winrt::hstring const& name, CompositionBrush const& source);
public void SetSourceParameter(string name, CompositionBrush source);
function setSourceParameter(name, source)
Public Sub SetSourceParameter (name As String, source As CompositionBrush)

Parameters

name
String

Platform::String

winrt::hstring

The name of the source parameter.

source
CompositionBrush

The source to pass to the effect.

Applies to