次の方法で共有


Support.FontChangeName(Font, String) メソッド

定義

注意事項

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

指定された Visual Basic 6.0 Font の新しい Font を返します。

public:
 static System::Drawing::Font ^ FontChangeName(System::Drawing::Font ^ CurrentFont, System::String ^ Name);
public static System.Drawing.Font FontChangeName (System.Drawing.Font CurrentFont, string Name);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static System.Drawing.Font FontChangeName (System.Drawing.Font CurrentFont, string Name);
static member FontChangeName : System.Drawing.Font * string -> System.Drawing.Font
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member FontChangeName : System.Drawing.Font * string -> System.Drawing.Font
Public Function FontChangeName (CurrentFont As Font, Name As String) As Font

パラメーター

CurrentFont
Font

Font

Name
String

Visual Basic 6.0 の String プロパティを表す Font

戻り値

Visual Basic 6.0 の Font と一致する Font

属性

注釈

Visual Basic 6.0 では、フォントの名前で指定された、Fontプロパティは、Visual basic でNameのプロパティである、Fontオブジェクト。 この関数は、Visual Basic 6.0 を変換するアップグレード ツールで使用FontFontします。

注意

Microsoft.VisualBasic.Compatibility.VB6 名前空間の関数とオブジェクトは、Visual Basic 6.0 から Visual Basic 2008 へのアップグレード ツールで使用するために用意されています。 ほとんどの場合、これらの関数とオブジェクトは、.NET Framework の他の名前空間にある機能と重複しています。 これらが必要になるのは、Visual Basic 6.0 のコード モデルが .NET Framework の実装と大きく異なる場合だけです。

適用対象