共用方式為


IPatternContext.Declare(Action<IPathSegment,Boolean>) 方法

定義

此 API 支援基礎結構,且不適合直接從程式碼使用。 此 API 可能會在未來的版本中變更或移除。

public:
 void Declare(Action<Microsoft::Extensions::FileSystemGlobbing::Internal::IPathSegment ^, bool> ^ onDeclare);
public void Declare (Action<Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment,bool> onDeclare);
abstract member Declare : Action<Microsoft.Extensions.FileSystemGlobbing.Internal.IPathSegment, bool> -> unit
Public Sub Declare (onDeclare As Action(Of IPathSegment, Boolean))

參數

適用於