IFont.put_Weight Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function put_Weight ( _
weight As Short _
) As Integer
'Usage
Dim instance As IFont
Dim weight As Short
Dim returnValue As Integer
returnValue = instance.put_Weight(weight)
int put_Weight(
short weight
)
int put_Weight(
[InAttribute] short weight
)
abstract put_Weight :
weight:int16 -> int
function put_Weight(
weight : short
) : int
Parameters
- weight
Type: System.Int16
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.